summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar bunnei2022-07-15 22:14:00 -0700
committerGravatar bunnei2022-07-16 23:11:39 -0700
commit02282477e739c8db64a13ecb0d1128098b0b0035 (patch)
tree64a97bb378ab91808fcb3c5e0af696c867223d4b /src/common
parenthle: service: nvflinger: Factor speed limit into frame time calculation. (diff)
downloadyuzu-02282477e739c8db64a13ecb0d1128098b0b0035.tar.gz
yuzu-02282477e739c8db64a13ecb0d1128098b0b0035.tar.xz
yuzu-02282477e739c8db64a13ecb0d1128098b0b0035.zip
yuzu: settings: Remove framerate cap and merge unlocked framerate setting.
- These were all somewhat redundant.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp1
-rw-r--r--src/common/settings.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 751549583..d4c52989a 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -185,7 +185,6 @@ void RestoreGlobalState(bool is_powered_on) {
185 values.max_anisotropy.SetGlobal(true); 185 values.max_anisotropy.SetGlobal(true);
186 values.use_speed_limit.SetGlobal(true); 186 values.use_speed_limit.SetGlobal(true);
187 values.speed_limit.SetGlobal(true); 187 values.speed_limit.SetGlobal(true);
188 values.fps_cap.SetGlobal(true);
189 values.use_disk_shader_cache.SetGlobal(true); 188 values.use_disk_shader_cache.SetGlobal(true);
190 values.gpu_accuracy.SetGlobal(true); 189 values.gpu_accuracy.SetGlobal(true);
191 values.use_asynchronous_gpu_emulation.SetGlobal(true); 190 values.use_asynchronous_gpu_emulation.SetGlobal(true);
diff --git a/src/common/settings.h b/src/common/settings.h
index 368046e87..2bccb8642 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -440,8 +440,6 @@ struct Values {
440 SwitchableSetting<NvdecEmulation> nvdec_emulation{NvdecEmulation::GPU, "nvdec_emulation"}; 440 SwitchableSetting<NvdecEmulation> nvdec_emulation{NvdecEmulation::GPU, "nvdec_emulation"};
441 SwitchableSetting<bool> accelerate_astc{true, "accelerate_astc"}; 441 SwitchableSetting<bool> accelerate_astc{true, "accelerate_astc"};
442 SwitchableSetting<bool> use_vsync{true, "use_vsync"}; 442 SwitchableSetting<bool> use_vsync{true, "use_vsync"};
443 SwitchableSetting<u16, true> fps_cap{1000, 1, 1000, "fps_cap"};
444 Setting<bool> disable_fps_limit{false, "disable_fps_limit"};
445 SwitchableSetting<ShaderBackend, true> shader_backend{ShaderBackend::GLASM, ShaderBackend::GLSL, 443 SwitchableSetting<ShaderBackend, true> shader_backend{ShaderBackend::GLASM, ShaderBackend::GLSL,
446 ShaderBackend::SPIRV, "shader_backend"}; 444 ShaderBackend::SPIRV, "shader_backend"};
447 SwitchableSetting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"}; 445 SwitchableSetting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"};