mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
psp, enable using new pspdev, fix some bugs
This commit is contained in:
parent
0e67fb6011
commit
a2d1369cb5
5 changed files with 16 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue