Correct comment

This commit is contained in:
Lior Halphon 2022-02-04 19:07:47 +02:00
parent 320aff1d1e
commit ba5416ee5b

View File

@ -1752,7 +1752,7 @@ void GB_hdma_run(GB_gameboy_t *gb)
write_oam(gb, gb->hdma_current_src, byte); write_oam(gb, gb->hdma_current_src, byte);
} }
gb->hdma_current_src++; gb->hdma_current_src++;
if (gb->addr_for_hdma_conflict == 0xFFFF /* || (gb->model == GB_MODEL_AGS && gb->cgb_double_speed) */) { if (gb->addr_for_hdma_conflict == 0xFFFF /* || (gb->model == GB_MODEL_AGB_B && gb->cgb_double_speed) */) {
gb->vram[vram_base + (gb->hdma_current_dest++ & 0x1FFF)] = byte; gb->vram[vram_base + (gb->hdma_current_dest++ & 0x1FFF)] = byte;
} }
else { else {