GBA BIOS: Fix CpuSet on 0x01XXXXXX addresses
Jeffrey Pfau jeffrey@endrift.com
Fri, 06 Nov 2015 21:04:55 -0800
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -18,6 +18,7 @@ - Qt: Fix a crash in the memory viewer
- GBA BIOS: Fix misaligned CpuSet - Libretro: Fix problems with rumble not turning off - ARM7: Fix sign of unaligned LDRSH + - GBA BIOS: Fix CpuSet on 0x01XXXXXX addresses Misc: - Qt: Window size command line options are now supported - Qt: Increase usability of key mapper
M
src/gba/bios.c
→
src/gba/bios.c
@@ -220,7 +220,7 @@ cpu->gprs[0] = atan2f(cpu->gprs[1] / 16384.f, cpu->gprs[0] / 16384.f) / (2 * M_PI) * 0x10000;
break; case 0xB: case 0xC: - if (cpu->gprs[0] >> BASE_OFFSET == REGION_BIOS) { + if (cpu->gprs[0] >> BASE_OFFSET < REGION_WORKING_RAM) { GBALog(gba, GBA_LOG_GAME_ERROR, "Cannot CpuSet from BIOS"); return; }