mirror of https://github.com/mgba-emu/mgba.git
GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch
This commit is contained in:
parent
6d8dc724c2
commit
261d02255c
1
CHANGES
1
CHANGES
|
@ -2,6 +2,7 @@
|
|||
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:
|
||||
|
|
|
@ -364,7 +364,7 @@ void GBASwi16(struct ARMCore* cpu, int immediate) {
|
|||
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");
|
||||
|
|
Loading…
Reference in New Issue