From b6a3831e7a46cc1e94154105cad762987decd5df Mon Sep 17 00:00:00 2001 From: Arignir Date: Sun, 18 Feb 2024 20:35:01 +0100 Subject: [PATCH] Set `REG_RCNT` to `0x8000` when skipping the BIOS intro. Fix https://github.com/hades-emu/Hades/issues/77 and https://github.com/hades-emu/Hades/issues/76. --- source/gba/gba.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/gba/gba.c b/source/gba/gba.c index ee48253..e1c3872 100644 --- a/source/gba/gba.c +++ b/source/gba/gba.c @@ -347,6 +347,7 @@ gba_state_reset( core->sp = 0x03007F00; core->pc = 0x08000000; gba->io.postflg = 1; + gba->io.rcnt.raw = 0x8000; gba->memory.bios_bus = 0xe129f000; core_reload_pipeline(gba); } else {