From 7e0c38c9c7a5d1fc17e0e6a61e9d030d397327f7 Mon Sep 17 00:00:00 2001 From: kub Date: Sun, 16 Oct 2022 19:28:52 +0000 Subject: [PATCH] psp, fix vsync synchronisation --- platform/psp/psp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/psp/psp.c b/platform/psp/psp.c index 702d6658..4e884879 100644 --- a/platform/psp/psp.c +++ b/platform/psp/psp.c @@ -198,7 +198,7 @@ void psp_video_flip(int wait_vsync, int other) if (other) fb ^= 0x44000; //if (wait_vsync) sceDisplayWaitVblankStart(); sceDisplaySetFrameBuf((void *)fb, 512, PSP_DISPLAY_PIXEL_FORMAT_565, - wait_vsync ? PSP_DISPLAY_SETBUF_IMMEDIATE : PSP_DISPLAY_SETBUF_NEXTFRAME); + wait_vsync ? PSP_DISPLAY_SETBUF_NEXTFRAME : PSP_DISPLAY_SETBUF_IMMEDIATE); current_screen ^= 1; psp_screen = current_screen ? VRAM_FB0 : VRAM_FB1; } -- 2.39.2