all repos — mgba @ ac0238ef07dff044b90894ea8ec858eed6b3a26f

mGBA Game Boy Advance Emulator

GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch
Jeffrey Pfau jeffrey@endrift.com
Tue, 11 Oct 2016 22:02:02 -0700
commit

ac0238ef07dff044b90894ea8ec858eed6b3a26f

parent

8ac697f31085caab31dc7652aabfac876a452b25

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -6,6 +6,7 @@ - LR35902: Fix core never exiting with certain event patterns

- GB Timer: Improve DIV reset behavior - GBA Memory: Fix misaligned BIOS reads - GBA BIOS: Fix MidiKey2Freq BIOS reads + - GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch Misc: - SDL: Remove scancode key input - GBA Video: Clean up unused timers
M src/gba/bios.csrc/gba/bios.c

@@ -364,7 +364,7 @@ case 0xB:

case 0xC: if (cpu->gprs[0] >> BASE_OFFSET < REGION_WORKING_RAM) { mLOG(GBA_BIOS, GAME_ERROR, "Cannot CpuSet from BIOS"); - return; + break; } if (cpu->gprs[0] & (cpu->gprs[2] & (1 << 26) ? 3 : 1)) { mLOG(GBA_BIOS, GAME_ERROR, "Misaligned CpuSet source");