summaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-11-24 02:36:30 -0800
committerGitHub <noreply@github.com>2021-11-24 02:36:30 -0800
commitcd6cf0422d27727576e3098d3d1d621a5f80caed (patch)
treeaf1c1c42c8e880a71db1c9d9034eb9a876c9ee66 /src/common/settings.cpp
parentdaecbd3a7febd8ec9f119b3e8937e8d27fba990f (diff)
parent8e3371a5c5aa26e1f3d0c1f944b65ee6b65c3f34 (diff)
Merge pull request #7404 from Kewlan/per-game-framerate-cap
configure_general: Allow framerate cap to be used in custom game configs
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 3bcaa072f..6964a8273 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -183,6 +183,7 @@ void RestoreGlobalState(bool is_powered_on) {
values.max_anisotropy.SetGlobal(true);
values.use_speed_limit.SetGlobal(true);
values.speed_limit.SetGlobal(true);
+ values.fps_cap.SetGlobal(true);
values.use_disk_shader_cache.SetGlobal(true);
values.gpu_accuracy.SetGlobal(true);
values.use_asynchronous_gpu_emulation.SetGlobal(true);