all repos — mgba @ 5a877db291236cd803d37fbdb489a4c0462f480e

mGBA Game Boy Advance Emulator

GBA: Reset WAITCNT properly
Vicki Pfau vi@endrift.com
Sat, 01 Sep 2018 14:44:43 -0700
commit

5a877db291236cd803d37fbdb489a4c0462f480e

parent

e2652ee5f4759ee8cf92ef9590cafc6914147a39

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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));