mirror of https://github.com/mgba-emu/mgba.git
PSP2: Fix VSync
This commit is contained in:
parent
274d55e5ab
commit
a299a4e5ea
1
CHANGES
1
CHANGES
|
@ -9,6 +9,7 @@ Bugfixes:
|
||||||
- GBA Memory: Fix mirror on non-overdumped Classic NES games
|
- GBA Memory: Fix mirror on non-overdumped Classic NES games
|
||||||
- Util: Fix realloc semantics in utf16to8
|
- Util: Fix realloc semantics in utf16to8
|
||||||
- PSP2: Fix GPU crash while exiting
|
- PSP2: Fix GPU crash while exiting
|
||||||
|
- PSP2: Fix VSync
|
||||||
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
|
||||||
|
|
|
@ -34,7 +34,7 @@ static void _drawEnd(void) {
|
||||||
int vcount = oldVCount;
|
int vcount = oldVCount;
|
||||||
vita2d_end_drawing();
|
vita2d_end_drawing();
|
||||||
oldVCount = sceDisplayGetVcount();
|
oldVCount = sceDisplayGetVcount();
|
||||||
vita2d_set_vblank_wait(oldVCount == vcount);
|
vita2d_set_vblank_wait(oldVCount + 1 >= vcount);
|
||||||
vita2d_swap_buffers();
|
vita2d_swap_buffers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue