From 3b39b6fcaa4de173f31ff580a291a3f1abf2aaa0 Mon Sep 17 00:00:00 2001 From: Stuart Kenny Date: Mon, 6 Sep 2021 20:03:57 +0100 Subject: [PATCH] Do not fast forward by default. --- libretro/libretro.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index 970e5860cd..c368b6aa54 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -397,6 +397,16 @@ static void check_variables(CoreParameter &coreParam) } } + bool isFastForwarding = environ_cb(RETRO_ENVIRONMENT_GET_FASTFORWARDING, &isFastForwarding); + if (isFastForwarding) + { + coreParam.fastForward = true; + } + else + { + coreParam.fastForward = false; + } + if (ppsspp_texture_scaling_type.Update(&g_Config.iTexScalingType) && gpu) gpu->ClearCacheNextFrame(); @@ -683,7 +693,6 @@ bool retro_load_game(const struct retro_game_info *game) coreParam.startBreak = false; coreParam.printfEmuLog = true; coreParam.headLess = true; - coreParam.fastForward = true; coreParam.graphicsContext = ctx; coreParam.gpuCore = ctx->GetGPUCore(); coreParam.cpuCore = CPUCore::JIT;