mirror of https://github.com/mgba-emu/mgba.git
GBA BIOS: Fix CpuSet on 0x01XXXXXX addresses
This commit is contained in:
parent
4bd7a65432
commit
c6f4f23332
1
CHANGES
1
CHANGES
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue