GBA: Speculative fix for AGBPrint

This commit is contained in:
Vicki Pfau 2018-01-04 18:11:00 -08:00
parent c37c781d28
commit a8394913dc
1 changed files with 1 additions and 1 deletions

View File

@ -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) {
cpu->memory.activeRegion = (uint32_t*) _agbPrintFunc;
cpu->memory.activeMask = sizeof(_agbPrintFunc) - 1;
break;
}
// Fall through
default: