Permalink
Browse files

GBA: Speculative fix for AGBPrint

  • Loading branch information...
endrift committed Jan 5, 2018
1 parent c37c781 commit a8394913dcf70b73c32e5f6ef25b53445c1fad2a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gba/memory.c
View
@@ -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:

0 comments on commit a839491

Please sign in to comment.