notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c4675a
)
psp, fix vsync synchronisation
author
kub
<derkub@gmail.com>
Sun, 16 Oct 2022 19:28:52 +0000
(19:28 +0000)
committer
kub
<derkub@gmail.com>
Sun, 16 Oct 2022 20:17:42 +0000
(20:17 +0000)
platform/psp/psp.c
patch
|
blob
|
blame
|
history
diff --git
a/platform/psp/psp.c
b/platform/psp/psp.c
index
702d665
..
4e88487
100644
(file)
--- a/
platform/psp/psp.c
+++ b/
platform/psp/psp.c
@@
-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_NEXTFRAM
E);
+ wait_vsync ? PSP_DISPLAY_SETBUF_
NEXTFRAME : PSP_DISPLAY_SETBUF_IMMEDIAT
E);
current_screen ^= 1;
psp_screen = current_screen ? VRAM_FB0 : VRAM_FB1;
}