GBA BIOS: Fix CpuSet on 0x01XXXXXX addresses

This commit is contained in:
Jeffrey Pfau 2015-11-06 21:04:55 -08:00
parent 4bd7a65432
commit c6f4f23332
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ Bugfixes:
- 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

View File

@ -220,7 +220,7 @@ void GBASwi16(struct ARMCore* cpu, int immediate) {
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;
}