mirror of https://github.com/mgba-emu/mgba.git
Wii: Fix framelimiting after a slowdown (fixes #332)
This commit is contained in:
parent
f590eb8ccf
commit
ae721309d0
1
CHANGES
1
CHANGES
|
@ -18,6 +18,7 @@ Bugfixes:
|
||||||
- PSP2: Actually load screen mode setting
|
- PSP2: Actually load screen mode setting
|
||||||
- Qt: Fix bug in software renderer scaling
|
- Qt: Fix bug in software renderer scaling
|
||||||
- Debugger: Fix GDB breakpoints
|
- Debugger: Fix GDB breakpoints
|
||||||
|
- Wii: Fix framelimiting after a slowdown
|
||||||
Misc:
|
Misc:
|
||||||
- 3DS: Use blip_add_delta_fast for a small speed improvement
|
- 3DS: Use blip_add_delta_fast for a small speed improvement
|
||||||
- OpenGL: Log shader compilation failure
|
- OpenGL: Log shader compilation failure
|
||||||
|
|
|
@ -398,6 +398,7 @@ static void _drawStart(void) {
|
||||||
if (referenceRetraceCount >= retraceCount) {
|
if (referenceRetraceCount >= retraceCount) {
|
||||||
VIDEO_WaitVSync();
|
VIDEO_WaitVSync();
|
||||||
}
|
}
|
||||||
|
referenceRetraceCount = retraceCount;
|
||||||
_CPU_ISR_Restore(level);
|
_CPU_ISR_Restore(level);
|
||||||
|
|
||||||
GX_SetZMode(GX_TRUE, GX_LEQUAL, GX_TRUE);
|
GX_SetZMode(GX_TRUE, GX_LEQUAL, GX_TRUE);
|
||||||
|
|
Loading…
Reference in New Issue