summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-26 01:23:44 +0200
committerGitHub <noreply@github.com>2021-07-26 01:23:44 +0200
commitc09557acd8a1880b0f19cc13d5fde46186363c3d (patch)
tree2e1ddda5bd411f69d90c8efd214910aec3ec9b06 /src/common
parentMerge pull request #6575 from FernandoS27/new_settings (diff)
parentconfig, nvflinger: Add FPS cap setting (diff)
downloadyuzu-c09557acd8a1880b0f19cc13d5fde46186363c3d.tar
yuzu-c09557acd8a1880b0f19cc13d5fde46186363c3d.tar.gz
yuzu-c09557acd8a1880b0f19cc13d5fde46186363c3d.tar.bz2
yuzu-c09557acd8a1880b0f19cc13d5fde46186363c3d.tar.lz
yuzu-c09557acd8a1880b0f19cc13d5fde46186363c3d.tar.xz
yuzu-c09557acd8a1880b0f19cc13d5fde46186363c3d.tar.zst
yuzu-c09557acd8a1880b0f19cc13d5fde46186363c3d.zip
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 32dfb1d9f..df1762d1b 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -339,6 +339,7 @@ struct Values {
Setting<bool> use_nvdec_emulation{true, "use_nvdec_emulation"};
Setting<bool> accelerate_astc{true, "accelerate_astc"};
Setting<bool> use_vsync{true, "use_vsync"};
+ BasicSetting<u16> fps_cap{1000, "fps_cap"};
BasicSetting<bool> disable_fps_limit{false, "disable_fps_limit"};
Setting<ShaderBackend> shader_backend{ShaderBackend::GLASM, "shader_backend"};
Setting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"};