summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-27 03:51:00 +0200
committerGitHub <noreply@github.com>2021-07-27 03:51:00 +0200
commitd6c799494c6235bc0796386bb31cae9fbe26f737 (patch)
treeba4d1992e822cb8c0b2744e838ea503df97dde1f /src/common
parentMerge pull request #6741 from ReinUsesLisp/stream-remove (diff)
parentrenderer_base: Removed redundant settings (diff)
downloadyuzu-d6c799494c6235bc0796386bb31cae9fbe26f737.tar
yuzu-d6c799494c6235bc0796386bb31cae9fbe26f737.tar.gz
yuzu-d6c799494c6235bc0796386bb31cae9fbe26f737.tar.bz2
yuzu-d6c799494c6235bc0796386bb31cae9fbe26f737.tar.lz
yuzu-d6c799494c6235bc0796386bb31cae9fbe26f737.tar.xz
yuzu-d6c799494c6235bc0796386bb31cae9fbe26f737.tar.zst
yuzu-d6c799494c6235bc0796386bb31cae9fbe26f737.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp8
-rw-r--r--src/common/settings.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 66268ea0f..996315999 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -48,8 +48,8 @@ void LogSettings() {
log_setting("Core_UseMultiCore", values.use_multi_core.GetValue());
log_setting("CPU_Accuracy", values.cpu_accuracy.GetValue());
log_setting("Renderer_UseResolutionFactor", values.resolution_factor.GetValue());
- log_setting("Renderer_UseFrameLimit", values.use_frame_limit.GetValue());
- log_setting("Renderer_FrameLimit", values.frame_limit.GetValue());
+ log_setting("Renderer_UseSpeedLimit", values.use_speed_limit.GetValue());
+ log_setting("Renderer_SpeedLimit", values.speed_limit.GetValue());
log_setting("Renderer_UseDiskShaderCache", values.use_disk_shader_cache.GetValue());
log_setting("Renderer_GPUAccuracyLevel", values.gpu_accuracy.GetValue());
log_setting("Renderer_UseAsynchronousGpuEmulation",
@@ -132,8 +132,8 @@ void RestoreGlobalState(bool is_powered_on) {
values.vulkan_device.SetGlobal(true);
values.aspect_ratio.SetGlobal(true);
values.max_anisotropy.SetGlobal(true);
- values.use_frame_limit.SetGlobal(true);
- values.frame_limit.SetGlobal(true);
+ values.use_speed_limit.SetGlobal(true);
+ values.speed_limit.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 df1762d1b..d8730f515 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -331,8 +331,8 @@ struct Values {
"fullscreen_mode"};
Setting<int> aspect_ratio{0, "aspect_ratio"};
Setting<int> max_anisotropy{0, "max_anisotropy"};
- Setting<bool> use_frame_limit{true, "use_frame_limit"};
- Setting<u16> frame_limit{100, "frame_limit"};
+ Setting<bool> use_speed_limit{true, "use_speed_limit"};
+ Setting<u16> speed_limit{100, "speed_limit"};
Setting<bool> use_disk_shader_cache{true, "use_disk_shader_cache"};
Setting<GPUAccuracy> gpu_accuracy{GPUAccuracy::High, "gpu_accuracy"};
Setting<bool> use_asynchronous_gpu_emulation{true, "use_asynchronous_gpu_emulation"};