PSP2: Fix VSync

This commit is contained in:
Jeffrey Pfau 2016-07-30 16:56:23 -07:00
parent 274d55e5ab
commit a299a4e5ea
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ Bugfixes:
- 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

View File

@ -34,7 +34,7 @@ static void _drawEnd(void) {
int vcount = oldVCount;
vita2d_end_drawing();
oldVCount = sceDisplayGetVcount();
vita2d_set_vblank_wait(oldVCount == vcount);
vita2d_set_vblank_wait(oldVCount + 1 >= vcount);
vita2d_swap_buffers();
}