From c1e05ae861e6669c8f436094cfbd80f3d6bc07f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 11 Mar 2018 17:42:16 +0100 Subject: [PATCH] Let's not do immediate flips in non-buffered. Should help #10395 --- Core/HLE/sceDisplay.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceDisplay.cpp b/Core/HLE/sceDisplay.cpp index ce25a55351..8c7fd13597 100644 --- a/Core/HLE/sceDisplay.cpp +++ b/Core/HLE/sceDisplay.cpp @@ -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