GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch

This commit is contained in:
Jeffrey Pfau 2016-10-11 22:02:02 -07:00
parent 8ac697f310
commit ac0238ef07
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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");