mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
psp, fix vsync synchronisation
This commit is contained in:
parent
2c4675a993
commit
7e0c38c9c7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue