diff options
author | Kewlan <colin_rehn@hotmail.com> | 2021-11-21 16:57:00 +0100 |
---|---|---|
committer | Kewlan <colin_rehn@hotmail.com> | 2021-11-21 16:57:00 +0100 |
commit | 8e3371a5c5aa26e1f3d0c1f944b65ee6b65c3f34 (patch) | |
tree | e68cbcdee5e9f9e1b484aad562825568e796d88b /src/common/settings.h | |
parent | d20f91da11fe7c5d5f1bd4f63cc3b4d221be67a4 (diff) |
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.h | 2 |
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"}; |