summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-02-25 18:43:53 +0100
committerGitHub <noreply@github.com>2023-02-25 18:43:53 +0100
commit5eeadde3c8fe125f4c3eb638679f8546e149442e (patch)
tree67b0242cc6b89dfb7ae23a74b79af1903e02d968
parentMerge pull request #9842 from german77/proper_real_mouse (diff)
parentconfig: Fix per game Force max clock (diff)
downloadyuzu-5eeadde3c8fe125f4c3eb638679f8546e149442e.tar
yuzu-5eeadde3c8fe125f4c3eb638679f8546e149442e.tar.gz
yuzu-5eeadde3c8fe125f4c3eb638679f8546e149442e.tar.bz2
yuzu-5eeadde3c8fe125f4c3eb638679f8546e149442e.tar.lz
yuzu-5eeadde3c8fe125f4c3eb638679f8546e149442e.tar.xz
yuzu-5eeadde3c8fe125f4c3eb638679f8546e149442e.tar.zst
yuzu-5eeadde3c8fe125f4c3eb638679f8546e149442e.zip
-rw-r--r--src/yuzu/configuration/config.cpp4
-rw-r--r--src/yuzu/configuration/configure_graphics_advanced.cpp2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index db68ed259..bfed2d038 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -1312,9 +1312,7 @@ void Config::SaveRendererValues() {
static_cast<u32>(Settings::values.renderer_backend.GetValue(global)),
static_cast<u32>(Settings::values.renderer_backend.GetDefault()),
Settings::values.renderer_backend.UsingGlobal());
- WriteSetting(QString::fromStdString(Settings::values.renderer_force_max_clock.GetLabel()),
- static_cast<u32>(Settings::values.renderer_force_max_clock.GetValue(global)),
- static_cast<u32>(Settings::values.renderer_force_max_clock.GetDefault()));
+ WriteGlobalSetting(Settings::values.renderer_force_max_clock);
WriteGlobalSetting(Settings::values.vulkan_device);
WriteSetting(QString::fromStdString(Settings::values.fullscreen_mode.GetLabel()),
static_cast<u32>(Settings::values.fullscreen_mode.GetValue(global)),
diff --git a/src/yuzu/configuration/configure_graphics_advanced.cpp b/src/yuzu/configuration/configure_graphics_advanced.cpp
index cc0155a2c..7ab5d5bf5 100644
--- a/src/yuzu/configuration/configure_graphics_advanced.cpp
+++ b/src/yuzu/configuration/configure_graphics_advanced.cpp
@@ -45,8 +45,6 @@ void ConfigureGraphicsAdvanced::SetConfiguration() {
&Settings::values.max_anisotropy);
ConfigurationShared::SetHighlight(ui->label_gpu_accuracy,
!Settings::values.gpu_accuracy.UsingGlobal());
- ConfigurationShared::SetHighlight(ui->renderer_force_max_clock,
- !Settings::values.renderer_force_max_clock.UsingGlobal());
ConfigurationShared::SetHighlight(ui->af_label,
!Settings::values.max_anisotropy.UsingGlobal());
}