mirror of https://github.com/mgba-emu/mgba.git
GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch
This commit is contained in:
parent
8ac697f310
commit
ac0238ef07
1
CHANGES
1
CHANGES
|
@ -6,6 +6,7 @@ Bugfixes:
|
|||
- GB Timer: Improve DIV reset behavior
|
||||
- GBA Memory: Fix misaligned BIOS reads
|
||||
- GBA BIOS: Fix MidiKey2Freq BIOS reads
|
||||
- GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch
|
||||
Misc:
|
||||
- SDL: Remove scancode key input
|
||||
- GBA Video: Clean up unused timers
|
||||
|
|
|
@ -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