psp, enable using new pspdev, fix some bugs

This commit is contained in:
kub 2022-09-29 23:24:43 +00:00
parent 0e67fb6011
commit a2d1369cb5
5 changed files with 16 additions and 16 deletions

View file

@ -196,7 +196,7 @@ void psp_video_flip(int wait_vsync, int other)
{
unsigned long fb = (unsigned long)psp_screen & ~0x40000000;
if (other) fb ^= 0x44000;
if (wait_vsync) sceDisplayWaitVblankStart();
//if (wait_vsync) sceDisplayWaitVblankStart();
sceDisplaySetFrameBuf((void *)fb, 512, PSP_DISPLAY_PIXEL_FORMAT_565,
wait_vsync ? PSP_DISPLAY_SETBUF_IMMEDIATE : PSP_DISPLAY_SETBUF_NEXTFRAME);
current_screen ^= 1;