summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-07-16 07:14:00 +0200
committerbunnei <bunneidev@gmail.com>2022-07-17 08:11:39 +0200
commit02282477e739c8db64a13ecb0d1128098b0b0035 (patch)
tree64a97bb378ab91808fcb3c5e0af696c867223d4b /src/common
parenthle: service: nvflinger: Factor speed limit into frame time calculation. (diff)
downloadyuzu-02282477e739c8db64a13ecb0d1128098b0b0035.tar
yuzu-02282477e739c8db64a13ecb0d1128098b0b0035.tar.gz
yuzu-02282477e739c8db64a13ecb0d1128098b0b0035.tar.bz2
yuzu-02282477e739c8db64a13ecb0d1128098b0b0035.tar.lz
yuzu-02282477e739c8db64a13ecb0d1128098b0b0035.tar.xz
yuzu-02282477e739c8db64a13ecb0d1128098b0b0035.tar.zst
yuzu-02282477e739c8db64a13ecb0d1128098b0b0035.zip
Diffstat (limited to '')
-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) {
values.max_anisotropy.SetGlobal(true);
values.use_speed_limit.SetGlobal(true);
values.speed_limit.SetGlobal(true);
- values.fps_cap.SetGlobal(true);
values.use_disk_shader_cache.SetGlobal(true);
values.gpu_accuracy.SetGlobal(true);
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 {
SwitchableSetting<NvdecEmulation> nvdec_emulation{NvdecEmulation::GPU, "nvdec_emulation"};
SwitchableSetting<bool> accelerate_astc{true, "accelerate_astc"};
SwitchableSetting<bool> use_vsync{true, "use_vsync"};
- SwitchableSetting<u16, true> fps_cap{1000, 1, 1000, "fps_cap"};
- Setting<bool> disable_fps_limit{false, "disable_fps_limit"};
SwitchableSetting<ShaderBackend, true> shader_backend{ShaderBackend::GLASM, ShaderBackend::GLSL,
ShaderBackend::SPIRV, "shader_backend"};
SwitchableSetting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"};