mirror of
https://github.com/libretro/mgba.git
synced 2024-11-27 10:11:00 +00:00
3DS: Fix framelimiter on newer citro3d (fixes #1771)
This commit is contained in:
parent
39c6bb2de6
commit
3ef59bd2c4
1
CHANGES
1
CHANGES
@ -28,6 +28,7 @@ Emulation fixes:
|
||||
- GBA Video: Add missing parts of 256-color mode 0 mosaic (fixes mgba.io/1701)
|
||||
- GBA Video: Fix double-size OBJ wrapping in GL renderer (fixes mgba.io/1712)
|
||||
Other fixes:
|
||||
- 3DS: Fix framelimiter on newer citro3d (fixes mgba.io/i/1771)
|
||||
- All: Improve export headers (fixes mgba.io/i/1738)
|
||||
- ARM Debugger: Clear low bit on breakpoint addresses (fixes mgba.io/i/1764)
|
||||
- CMake: Always use devkitPro toolchain when applicable (fixes mgba.io/i/1755)
|
||||
|
@ -193,14 +193,13 @@ static void _drawStart(void) {
|
||||
return;
|
||||
}
|
||||
frameStarted = true;
|
||||
u8 flags = 0;
|
||||
if (!frameLimiter) {
|
||||
if (frameLimiter) {
|
||||
if (tickCounter + 4481000 > svcGetSystemTick()) {
|
||||
flags = C3D_FRAME_NONBLOCK;
|
||||
C3D_FrameSync();
|
||||
}
|
||||
tickCounter = svcGetSystemTick();
|
||||
}
|
||||
C3D_FrameBegin(flags);
|
||||
C3D_FrameBegin(0);
|
||||
ctrStartFrame();
|
||||
|
||||
C3D_FrameDrawOn(bottomScreen[doubleBuffer]);
|
||||
|
Loading…
Reference in New Issue
Block a user