Correct comment

This commit is contained in:
Lior Halphon 2022-01-30 17:33:33 +02:00
parent 3a2d028efa
commit 4bebd2bc33

View File

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