config, nvflinger: Add FPS cap setting

Allows finer tuning of the FPS limit.
This commit is contained in:
ameerj 2021-07-22 21:03:50 -04:00
parent f7454fabb3
commit 8c0d6af843
8 changed files with 49 additions and 6 deletions

View file

@ -330,6 +330,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<bool> use_assembly_shaders{false, "use_assembly_shaders"};
Setting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"};