mirror of https://github.com/mgba-emu/mgba.git
GBA: Reset WAITCNT properly
This commit is contained in:
parent
e2652ee5f4
commit
5a877db291
1
CHANGES
1
CHANGES
|
@ -48,6 +48,7 @@ Bugfixes:
|
|||
- 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)
|
||||
|
|
|
@ -121,6 +121,7 @@ void GBAMemoryReset(struct GBA* gba) {
|
|||
}
|
||||
|
||||
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));
|
||||
|
|
Loading…
Reference in New Issue