mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Let's not do immediate flips in non-buffered. Should help #10395
This commit is contained in:
parent
0ed3deabe6
commit
c1e05ae861
1 changed files with 3 additions and 1 deletions
|
@ -863,7 +863,9 @@ 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.
|
||||
if (!flippedThisFrame)
|
||||
// Doing it in non-buffered though creates problems (black screen) on occasion though
|
||||
// so let's not.
|
||||
if (!flippedThisFrame && g_Config.iRenderingMode != FB_NON_BUFFERED_MODE)
|
||||
__DisplayFlip(0);
|
||||
} else {
|
||||
// Delay the write until vblank
|
||||
|
|
Loading…
Add table
Reference in a new issue