Wii: Fix game fast-forwarding after slowing down

This commit is contained in:
Vicki Pfau 2020-01-13 18:01:59 -08:00
parent bd87038c9b
commit 2f68ea1b48
2 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,7 @@ Other fixes:
- Qt: Fix inability to clear default keybindings
- Qt: Release held actions if they get rebound
- Vita: Fix analog controls (fixes mgba.io/i/1554)
- Wii: Fix game fast-forwarding after slowing down
Misc:
- GB Memory: Support manual SRAM editing (fixes mgba.io/i/1580)
- GBA Audio: Redo channel 4 batching for GBA only

View File

@ -648,6 +648,8 @@ static void _drawStart(void) {
VIDEO_WaitVSync();
}
referenceRetraceCount = retraceCount;
} else if (frameLimiter && referenceRetraceCount < retraceCount - 1) {
referenceRetraceCount = retraceCount - 1;
}
_CPU_ISR_Restore(level);