summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar ameerj2021-07-22 21:03:50 -0400
committerGravatar ameerj2021-07-23 22:04:36 -0400
commit2c6e274b3978ce4ee1af98e21f101e7037ec9d24 (patch)
tree3342199a569d656ed23b0d2407c01f939066aaed /src/common
parentMerge pull request #6686 from ReinUsesLisp/vk-optimal-copy (diff)
downloadyuzu-2c6e274b3978ce4ee1af98e21f101e7037ec9d24.tar.gz
yuzu-2c6e274b3978ce4ee1af98e21f101e7037ec9d24.tar.xz
yuzu-2c6e274b3978ce4ee1af98e21f101e7037ec9d24.zip
config, nvflinger: Add FPS cap setting
Allows finer tuning of the FPS limit.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index ce1bc647d..8ad320aed 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -330,6 +330,7 @@ struct Values {
330 Setting<bool> use_nvdec_emulation{true, "use_nvdec_emulation"}; 330 Setting<bool> use_nvdec_emulation{true, "use_nvdec_emulation"};
331 Setting<bool> accelerate_astc{true, "accelerate_astc"}; 331 Setting<bool> accelerate_astc{true, "accelerate_astc"};
332 Setting<bool> use_vsync{true, "use_vsync"}; 332 Setting<bool> use_vsync{true, "use_vsync"};
333 BasicSetting<u16> fps_cap{1000, "fps_cap"};
333 BasicSetting<bool> disable_fps_limit{false, "disable_fps_limit"}; 334 BasicSetting<bool> disable_fps_limit{false, "disable_fps_limit"};
334 Setting<bool> use_assembly_shaders{false, "use_assembly_shaders"}; 335 Setting<bool> use_assembly_shaders{false, "use_assembly_shaders"};
335 Setting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"}; 336 Setting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"};