psp, more fps, improve sms/gg scaling

This commit is contained in:
kub 2022-09-28 18:43:33 +00:00
parent 96948bdfc8
commit 6370b1d401
7 changed files with 31 additions and 25 deletions

View file

@ -68,7 +68,7 @@ void plat_target_finish(void)
void plat_video_flip(void)
{
g_menubg_src_ptr = psp_screen;
psp_video_flip(currentConfig.EmuOpt & EOPT_VSYNC);
psp_video_flip(currentConfig.EmuOpt & EOPT_VSYNC, 1);
g_screen_ptr = VRAM_CACHED_STUFF + (psp_screen - VRAM_FB0);
plat_video_set_buffer(g_screen_ptr);
}
@ -94,7 +94,7 @@ void plat_video_menu_begin(void)
void plat_video_menu_end(void)
{
plat_video_wait_vsync();
plat_video_flip();
psp_video_flip(0, 0);
}
/* terminate menu display */