PSP2: Fix VSync
Jeffrey Pfau jeffrey@endrift.com
Sat, 30 Jul 2016 16:56:23 -0700
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -9,6 +9,7 @@ - SDL: Fix axes being mapped wrong
- GBA Memory: Fix mirror on non-overdumped Classic NES games - Util: Fix realloc semantics in utf16to8 - PSP2: Fix GPU crash while exiting + - PSP2: Fix VSync Misc: - 3DS: Use blip_add_delta_fast for a small speed improvement - OpenGL: Log shader compilation failure
M
src/platform/psp2/main.c
→
src/platform/psp2/main.c
@@ -34,7 +34,7 @@ static int oldVCount = 0;
int vcount = oldVCount; vita2d_end_drawing(); oldVCount = sceDisplayGetVcount(); - vita2d_set_vblank_wait(oldVCount == vcount); + vita2d_set_vblank_wait(oldVCount + 1 >= vcount); vita2d_swap_buffers(); }