git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit 4bebd2bc33f82ac6ded875944261e2c0f8b08c0f
parent 3a2d028efa87c49f54593c4f85808604e906f54e
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sun, 30 Jan 2022 17:33:33 +0200

Correct comment

Diffstat:
MCore/memory.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 {

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.