GBA: Reset WAITCNT properly
Vicki Pfau vi@endrift.com
Sat, 01 Sep 2018 14:44:43 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -48,6 +48,7 @@ - GB, GBA Savedata: Fix savestate loading overwriting saves on reset
- GBA Video: Make layer disabling work consistently - GB: Fix IRQ disabling on the same T-cycle as an assert - Core: Fix ordering events when scheduling during events + - GBA: Reset WAITCNT properly Misc: - GBA Timer: Use global cycles for timers - GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
M
src/gba/memory.c
→
src/gba/memory.c
@@ -121,6 +121,7 @@ memset(gba->memory.iwram, 0, SIZE_WORKING_IRAM);
} memset(gba->memory.io, 0, sizeof(gba->memory.io)); + GBAAdjustWaitstates(gba, 0); gba->memory.agbPrint = 0; memset(&gba->memory.agbPrintCtx, 0, sizeof(gba->memory.agbPrintCtx));