From 4474adee1d636cc13b71d47ce9bf5d4bd9796602 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sun, 3 Mar 2013 13:21:06 +0100 Subject: [PATCH] Fix frameskip + unbuffered --- Core/HLE/sceDisplay.cpp | 2 +- GPU/GLES/DisplayListInterpreter.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Core/HLE/sceDisplay.cpp b/Core/HLE/sceDisplay.cpp index 1e037fd5bc..d55365ba3d 100644 --- a/Core/HLE/sceDisplay.cpp +++ b/Core/HLE/sceDisplay.cpp @@ -310,7 +310,7 @@ void DoFrameTiming(bool &throttle, bool &skipFrame) { if (curFrameTime > nextFrameTime && doFrameSkip) { // Argh, we are falling behind! Let's skip a frame and see if we catch up. skipFrame = true; - INFO_LOG(HLE,"FRAMESKIP %i", numSkippedFrames); + // INFO_LOG(HLE,"FRAMESKIP %i", numSkippedFrames); } if (curFrameTime < nextFrameTime && throttle) diff --git a/GPU/GLES/DisplayListInterpreter.cpp b/GPU/GLES/DisplayListInterpreter.cpp index 4e4582a15a..cbbaca510d 100644 --- a/GPU/GLES/DisplayListInterpreter.cpp +++ b/GPU/GLES/DisplayListInterpreter.cpp @@ -326,10 +326,8 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) { // This also make skipping drawing very effective. - if (gstate_c.skipDrawReason & SKIPDRAW_SKIPFRAME) - return; framebufferManager_.SetRenderFrameBuffer(); - if (gstate_c.skipDrawReason & SKIPDRAW_NON_DISPLAYED_FB) + if (gstate_c.skipDrawReason & (SKIPDRAW_SKIPFRAME | SKIPDRAW_NON_DISPLAYED_FB)) return; u32 count = data & 0xFFFF;