all repos — mgba @ a299a4e5eacaaa8e8c7cd6977b9f64f79c90254b

mGBA Game Boy Advance Emulator

PSP2: Fix VSync
Jeffrey Pfau jeffrey@endrift.com
Sat, 30 Jul 2016 16:56:23 -0700
commit

a299a4e5eacaaa8e8c7cd6977b9f64f79c90254b

parent

274d55e5ab97fd3ff8b7d07f42d94c8d5b35dd3e

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

jump to
M CHANGESCHANGES

@@ -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.csrc/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(); }