From 74c4b2bafb270f55eba733741b674f9cda3b073a Mon Sep 17 00:00:00 2001 From: raven02 Date: Fri, 20 Sep 2013 20:51:46 +0800 Subject: [PATCH] Add ifdef _WIN32 --- Core/Config.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/Config.cpp b/Core/Config.cpp index b1c81f552b..b6817a8af9 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -147,7 +147,11 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) graphics->Get("FrameSkip", &iFrameSkip, 0); graphics->Get("FrameRate", &iFpsLimit, 0); +#ifdef _WIN32 graphics->Get("FrameSkipUnthrottle", &bFrameSkipUnthrottle, false); +#else + graphics->Get("FrameSkipUnthrottle", &bFrameSkipUnthrottle, true); +#endif graphics->Get("ForceMaxEmulatedFPS", &iForceMaxEmulatedFPS, 60); #ifdef USING_GLES2 graphics->Get("AnisotropyLevel", &iAnisotropyLevel, 0);