From 036a180708d6930e58f506ffbc4cb3b4a0708f58 Mon Sep 17 00:00:00 2001 From: danyalzia Date: Tue, 17 Sep 2013 11:41:12 +0500 Subject: [PATCH] Update sceDisplay.cpp --- Core/HLE/sceDisplay.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Core/HLE/sceDisplay.cpp b/Core/HLE/sceDisplay.cpp index b1980bff82..6a5f9720be 100644 --- a/Core/HLE/sceDisplay.cpp +++ b/Core/HLE/sceDisplay.cpp @@ -409,10 +409,9 @@ void DoFrameTiming(bool &throttle, bool &skipFrame, float timestep) { // we have nothing to do here. bool doFrameSkip = g_Config.iFrameSkip != 0; - // On non windows, which is always vsync locked, we need to force frameskip when - // unthrottled. -#ifndef _WIN32 - if (!throttle) { + + + if (!throttle && g_Config.bFrameSkipUnthrottle) { doFrameSkip = true; skipFrame = true; if (numSkippedFrames >= 7) { @@ -420,7 +419,7 @@ void DoFrameTiming(bool &throttle, bool &skipFrame, float timestep) { } return; } -#endif + if (!throttle && !doFrameSkip) return;