summaryrefslogtreecommitdiff
path: root/src/common/settings.h
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.h
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.h')
-rw-r--r--src/common/settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index 42f8b4a7d..fa4aa8747 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -525,7 +525,7 @@ struct Values {
Setting<NvdecEmulation> nvdec_emulation{NvdecEmulation::GPU, "nvdec_emulation"};
Setting<bool> accelerate_astc{true, "accelerate_astc"};
Setting<bool> use_vsync{true, "use_vsync"};
- BasicRangedSetting<u16> fps_cap{1000, 1, 1000, "fps_cap"};
+ RangedSetting<u16> fps_cap{1000, 1, 1000, "fps_cap"};
BasicSetting<bool> disable_fps_limit{false, "disable_fps_limit"};
RangedSetting<ShaderBackend> shader_backend{ShaderBackend::GLASM, ShaderBackend::GLSL,
ShaderBackend::SPIRV, "shader_backend"};