summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-01-10 21:26:49 +0100
committerGitHub <noreply@github.com>2023-01-10 21:26:49 +0100
commite2c68edd35457dc790fbebb42ddc77f018cb8eca (patch)
tree0c3b5b59801dc3d4034e01fbec8748b1c7279461 /src
parentMerge pull request #9565 from MonsterDruide1/tas-multiplayer-lengths (diff)
parentqt: fix configuration weirdness on turbo (diff)
downloadyuzu-e2c68edd35457dc790fbebb42ddc77f018cb8eca.tar
yuzu-e2c68edd35457dc790fbebb42ddc77f018cb8eca.tar.gz
yuzu-e2c68edd35457dc790fbebb42ddc77f018cb8eca.tar.bz2
yuzu-e2c68edd35457dc790fbebb42ddc77f018cb8eca.tar.lz
yuzu-e2c68edd35457dc790fbebb42ddc77f018cb8eca.tar.xz
yuzu-e2c68edd35457dc790fbebb42ddc77f018cb8eca.tar.zst
yuzu-e2c68edd35457dc790fbebb42ddc77f018cb8eca.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_graphics_advanced.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_graphics_advanced.cpp b/src/yuzu/configuration/configure_graphics_advanced.cpp
index fdf8485ce..cc0155a2c 100644
--- a/src/yuzu/configuration/configure_graphics_advanced.cpp
+++ b/src/yuzu/configuration/configure_graphics_advanced.cpp
@@ -22,6 +22,7 @@ ConfigureGraphicsAdvanced::~ConfigureGraphicsAdvanced() = default;
void ConfigureGraphicsAdvanced::SetConfiguration() {
const bool runtime_lock = !system.IsPoweredOn();
ui->use_vsync->setEnabled(runtime_lock);
+ ui->renderer_force_max_clock->setEnabled(runtime_lock);
ui->use_asynchronous_shaders->setEnabled(runtime_lock);
ui->anisotropic_filtering_combobox->setEnabled(runtime_lock);
@@ -40,12 +41,12 @@ void ConfigureGraphicsAdvanced::SetConfiguration() {
Settings::values.max_anisotropy.GetValue());
} else {
ConfigurationShared::SetPerGameSetting(ui->gpu_accuracy, &Settings::values.gpu_accuracy);
- ConfigurationShared::SetPerGameSetting(ui->renderer_force_max_clock,
- &Settings::values.renderer_force_max_clock);
ConfigurationShared::SetPerGameSetting(ui->anisotropic_filtering_combobox,
&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());
}