all repos — mgba @ 261d02255c6ff3a55b528fbb10e7b33d2efff511

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

261d02255c6ff3a55b528fbb10e7b33d2efff511

parent

6d8dc724c2765c10b4e6f3f3e53855aa5175e6b7

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

jump to
M CHANGESCHANGES

@@ -2,6 +2,7 @@ 0.5.2: (Future)

Bugfixes: - GBA Memory: Fix misaligned BIOS reads - GBA BIOS: Fix MidiKey2Freq BIOS reads + - GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch 0.5.1: (2016-10-05) Bugfixes:
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");