From ba5416ee5b814e80825a929ff0abe9c388725e05 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 4 Feb 2022 19:07:47 +0200 Subject: [PATCH] Correct comment --- Core/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/memory.c b/Core/memory.c index 7eab9ca..86f5306 100644 --- a/Core/memory.c +++ b/Core/memory.c @@ -1752,7 +1752,7 @@ void GB_hdma_run(GB_gameboy_t *gb) write_oam(gb, gb->hdma_current_src, byte); } 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; } else {