Skip to content

Commit

Permalink
Set REG_RCNT to 0x8000 when skipping the BIOS intro.
Browse files Browse the repository at this point in the history
Fix #77 and #76.
  • Loading branch information
Arignir committed Feb 18, 2024
1 parent 4409a97 commit b6a3831
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/gba/gba.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b6a3831

Please sign in to comment.