Wii: Fix screen tear when unpausing

This commit is contained in:
Diego A 2018-01-31 23:13:05 -04:00 committed by endrift
parent c657255009
commit aeb90ba90d
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ Bugfixes:
- GBA I/O: Fix writing to DISPCNT CGB flag (fixes mgba.io/i/902)
- GBA Memory: Partially revert prefetch changes (fixes mgba.io/i/840)
- PSP2: Fix issues causing poor audio
- Wii: Fix screen tear when unpausing
Misc:
- GBA Timer: Use global cycles for timers
- GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)

View File

@ -733,6 +733,7 @@ void _gameLoaded(struct mGUIRunner* runner) {
void _unpaused(struct mGUIRunner* runner) {
u32 level = 0;
VIDEO_WaitVSync();
_CPU_ISR_Disable(level);
referenceRetraceCount = retraceCount;
_CPU_ISR_Restore(level);