summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:03:50 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-24 04:04:36 +0200
commit2c6e274b3978ce4ee1af98e21f101e7037ec9d24 (patch)
tree3342199a569d656ed23b0d2407c01f939066aaed /src/yuzu_cmd
parentMerge pull request #6686 from ReinUsesLisp/vk-optimal-copy (diff)
downloadyuzu-2c6e274b3978ce4ee1af98e21f101e7037ec9d24.tar
yuzu-2c6e274b3978ce4ee1af98e21f101e7037ec9d24.tar.gz
yuzu-2c6e274b3978ce4ee1af98e21f101e7037ec9d24.tar.bz2
yuzu-2c6e274b3978ce4ee1af98e21f101e7037ec9d24.tar.lz
yuzu-2c6e274b3978ce4ee1af98e21f101e7037ec9d24.tar.xz
yuzu-2c6e274b3978ce4ee1af98e21f101e7037ec9d24.tar.zst
yuzu-2c6e274b3978ce4ee1af98e21f101e7037ec9d24.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/config.cpp1
-rw-r--r--src/yuzu_cmd/default_ini.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 3e22fee37..12a61fc43 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -455,6 +455,7 @@ void Config::ReadValues() {
ReadSetting("Renderer", Settings::values.gpu_accuracy);
ReadSetting("Renderer", Settings::values.use_asynchronous_gpu_emulation);
ReadSetting("Renderer", Settings::values.use_vsync);
+ ReadSetting("Renderer", Settings::values.fps_cap);
ReadSetting("Renderer", Settings::values.disable_fps_limit);
ReadSetting("Renderer", Settings::values.use_assembly_shaders);
ReadSetting("Renderer", Settings::values.use_asynchronous_shaders);
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h
index 88d33ecab..833c346bc 100644
--- a/src/yuzu_cmd/default_ini.h
+++ b/src/yuzu_cmd/default_ini.h
@@ -290,6 +290,10 @@ bg_red =
bg_blue =
bg_green =
+# Caps the unlocked framerate to a multiple of the title's target FPS.
+# 1 - 1000: Target FPS multiple cap. 1000 (default)
+fps_cap =
+
[Audio]
# Which audio output engine to use.
# auto (default): Auto-select