From 4bebd2bc33f82ac6ded875944261e2c0f8b08c0f Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sun, 30 Jan 2022 17:33:33 +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 a41191a..3a9f8fd 100644 --- a/Core/memory.c +++ b/Core/memory.c @@ -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 {