mirror of
https://github.com/libretro/RetroArch
synced 2025-03-26 11:37:30 +00:00
(PSP) Speed improvement to video driver
This commit is contained in:
parent
597cbdd99d
commit
6c23b9afe4
@ -164,6 +164,10 @@ static bool psp_frame(void *data, const void *frame,
|
||||
(void)msg;
|
||||
|
||||
psp1_video_t *psp = (psp1_video_t*)data;
|
||||
|
||||
sceGuSync(0, 0);
|
||||
sceDisplayWaitVblankStart();
|
||||
sceGuSwapBuffers();
|
||||
|
||||
/* Check if neither RGUI nor emulator framebuffer is to be displayed. */
|
||||
if(psp->rgui_active)
|
||||
@ -234,9 +238,6 @@ static bool psp_frame(void *data, const void *frame,
|
||||
|
||||
sceGuDrawArray(GU_SPRITES, GU_TEXTURE_16BIT | GU_COLOR_5650 | GU_VERTEX_16BIT | GU_TRANSFORM_2D, 2, NULL, v);
|
||||
sceGuFinish();
|
||||
sceGuSync(0, 0);
|
||||
sceDisplayWaitVblankStart();
|
||||
sceGuSwapBuffers();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user