diff options
author | bunnei <bunneidev@gmail.com> | 2021-07-25 16:23:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-25 16:23:44 -0700 |
commit | c09557acd8a1880b0f19cc13d5fde46186363c3d (patch) | |
tree | 2e1ddda5bd411f69d90c8efd214910aec3ec9b06 /src/common/settings.h | |
parent | 7e272d3cd81656b65b21f5a569fc9a2d76cac758 (diff) | |
parent | 2c6e274b3978ce4ee1af98e21f101e7037ec9d24 (diff) |
Merge pull request #6697 from ameerj/fps-cap
config, nvflinger: Add FPS cap setting
Diffstat (limited to 'src/common/settings.h')
-rw-r--r-- | src/common/settings.h | 1 |
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"}; |