mirror of https://github.com/mgba-emu/mgba.git
GBA: Reset WAITCNT properly
This commit is contained in:
parent
45873a32f6
commit
94ec760a9f
1
CHANGES
1
CHANGES
|
@ -10,6 +10,7 @@ Bugfixes:
|
|||
- GBA BIOS: Fix BitUnPack final byte
|
||||
- GB I/O: DMA register is R/W
|
||||
- GBA Video: Improve sprite cycle counting (fixes mgba.io/i/1126)
|
||||
- GBA: Reset WAITCNT properly
|
||||
Misc:
|
||||
- FFmpeg: Support libswresample (fixes mgba.io/i/1120, mgba.io/b/123)
|
||||
|
||||
|
|
|
@ -113,6 +113,7 @@ void GBAMemoryReset(struct GBA* gba) {
|
|||
gba->memory.iwram = anonymousMemoryMap(SIZE_WORKING_IRAM);
|
||||
|
||||
memset(gba->memory.io, 0, sizeof(gba->memory.io));
|
||||
GBAAdjustWaitstates(gba, 0);
|
||||
|
||||
gba->memory.prefetch = false;
|
||||
gba->memory.lastPrefetchedPc = 0;
|
||||
|
|
Loading…
Reference in New Issue