mirror of https://github.com/mgba-emu/mgba.git
GBA: Speculative fix for AGBPrint
This commit is contained in:
parent
c37c781d28
commit
a8394913dc
|
@ -310,7 +310,7 @@ static void GBASetActiveRegion(struct ARMCore* cpu, uint32_t address) {
|
||||||
if ((address & (SIZE_CART0 - 1)) == AGB_PRINT_FLUSH_ADDR && memory->agbPrint == 0x20) {
|
if ((address & (SIZE_CART0 - 1)) == AGB_PRINT_FLUSH_ADDR && memory->agbPrint == 0x20) {
|
||||||
cpu->memory.activeRegion = (uint32_t*) _agbPrintFunc;
|
cpu->memory.activeRegion = (uint32_t*) _agbPrintFunc;
|
||||||
cpu->memory.activeMask = sizeof(_agbPrintFunc) - 1;
|
cpu->memory.activeMask = sizeof(_agbPrintFunc) - 1;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
// Fall through
|
// Fall through
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue