From ceecca1b7250a7a1047bad5168f70ec747debbee Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 3 Jan 2021 09:31:16 -0800 Subject: [PATCH 1/2] Display: Change default unthrottle mode on non-Win. This should reduce graphical corruption caused by fast forwarding. --- Core/Config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 1c53e8e571..f9cd3f0700 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -546,7 +546,7 @@ static int DefaultInternalResolution() { static int DefaultUnthrottleMode() { #if PPSSPP_PLATFORM(ANDROID) || defined(USING_QT_UI) || PPSSPP_PLATFORM(UWP) || PPSSPP_PLATFORM(IOS) - return (int)UnthrottleMode::SKIP_DRAW; + return (int)UnthrottleMode::SKIP_FLIP; #else return (int)UnthrottleMode::CONTINUOUS; #endif @@ -766,7 +766,7 @@ static ConfigSetting graphicsSettings[] = { ReportedConfigSetting("AutoFrameSkip", &g_Config.bAutoFrameSkip, false, true, true), ConfigSetting("FrameRate", &g_Config.iFpsLimit1, 0, true, true), ConfigSetting("FrameRate2", &g_Config.iFpsLimit2, -1, true, true), - ConfigSetting("UnthrottleMode", &g_Config.iUnthrottleMode, &DefaultUnthrottleMode, &UnthrottleModeToString, &UnthrottleModeFromString, true, true), + ConfigSetting("UnthrottlingMode", &g_Config.iUnthrottleMode, &DefaultUnthrottleMode, &UnthrottleModeToString, &UnthrottleModeFromString, true, true), #if defined(USING_WIN_UI) ConfigSetting("RestartRequired", &g_Config.bRestartRequired, false, false), #endif From 4df04056ba8ad1456d4d9d4868328f6f915a0e51 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 15 Feb 2021 14:16:50 -0800 Subject: [PATCH 2/2] libretro: Always use SKIP_FLIP. This was probably preventing fast forward. --- libretro/libretro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index e286acf8d4..4515ba23f5 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -354,7 +354,7 @@ void retro_init(void) #endif g_Config.bEnableLogging = true; - g_Config.iUnthrottleMode = (int)UnthrottleMode::CONTINUOUS; + g_Config.iUnthrottleMode = (int)UnthrottleMode::SKIP_FLIP; g_Config.bMemStickInserted = true; g_Config.iGlobalVolume = VOLUME_MAX - 1; g_Config.iAltSpeedVolume = -1;