all repos — mgba @ ae721309d0865f014914085e44412af6be10728c

mGBA Game Boy Advance Emulator

Wii: Fix framelimiting after a slowdown (fixes #332)
Jeffrey Pfau jeffrey@endrift.com
Mon, 08 Aug 2016 21:28:17 -0700
commit

ae721309d0865f014914085e44412af6be10728c

parent

f590eb8ccff8f2e702402cd9e9e69580581258f0

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

jump to
M CHANGESCHANGES

@@ -18,6 +18,7 @@ - PSP2: Fix accelerometer range

- PSP2: Actually load screen mode setting - Qt: Fix bug in software renderer scaling - Debugger: Fix GDB breakpoints + - Wii: Fix framelimiting after a slowdown Misc: - 3DS: Use blip_add_delta_fast for a small speed improvement - OpenGL: Log shader compilation failure
M src/platform/wii/main.csrc/platform/wii/main.c

@@ -398,6 +398,7 @@ _CPU_ISR_Disable(level);

if (referenceRetraceCount >= retraceCount) { VIDEO_WaitVSync(); } + referenceRetraceCount = retraceCount; _CPU_ISR_Restore(level); GX_SetZMode(GX_TRUE, GX_LEQUAL, GX_TRUE);