all repos — mgba @ 2f68ea1b48da14a1a0be06e84fd9a898d93bcdfd

mGBA Game Boy Advance Emulator

Wii: Fix game fast-forwarding after slowing down
Vicki Pfau vi@endrift.com
Mon, 13 Jan 2020 18:01:59 -0800
commit

2f68ea1b48da14a1a0be06e84fd9a898d93bcdfd

parent

bd87038c9b611659690f7927990199548bf8730a

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

jump to
M CHANGESCHANGES

@@ -112,6 +112,7 @@ - Qt: Fix sprite view using wrong base address (fixes mgba.io/i/1603)

- 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
M src/platform/wii/main.csrc/platform/wii/main.c

@@ -648,6 +648,8 @@ if (frameLimiter) {

VIDEO_WaitVSync(); } referenceRetraceCount = retraceCount; + } else if (frameLimiter && referenceRetraceCount < retraceCount - 1) { + referenceRetraceCount = retraceCount - 1; } _CPU_ISR_Restore(level);