mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-06 07:28:12 +00:00
Avoid multiple flips per frame, fixes immediate flip for God of War
This commit is contained in:
parent
4c720631c1
commit
54ff4c8822
@ -853,7 +853,8 @@ void __DisplaySetFramebuf(u32 topaddr, int linesize, int pixelFormat, int sync)
|
||||
framebuf = fbstate;
|
||||
gpu->SetDisplayFramebuffer(framebuf.topaddr, framebuf.stride, framebuf.fmt);
|
||||
// IMMEDIATE means that the buffer is fine. We can just flip immediately.
|
||||
__DisplayFlip(0);
|
||||
if (!flippedThisFrame)
|
||||
__DisplayFlip(0);
|
||||
} else {
|
||||
// Delay the write until vblank
|
||||
latchedFramebuf = fbstate;
|
||||
|
Loading…
x
Reference in New Issue
Block a user