mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
fixes for platform support for PSP: show fps, notices, CD leds
This commit is contained in:
parent
bfd6662370
commit
b1b5f9c094
3 changed files with 45 additions and 23 deletions
|
@ -195,6 +195,7 @@ void psp_finish(void)
|
|||
void psp_video_flip(int wait_vsync)
|
||||
{
|
||||
void *fb = (void *)((unsigned long)psp_screen & ~0x40000000);
|
||||
sceGuSync(0, 0);
|
||||
if (wait_vsync) sceDisplayWaitVblankStart();
|
||||
sceDisplaySetFrameBuf(fb, 512, PSP_DISPLAY_PIXEL_FORMAT_565,
|
||||
wait_vsync ? PSP_DISPLAY_SETBUF_IMMEDIATE : PSP_DISPLAY_SETBUF_NEXTFRAME);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue