Merge pull request #9863 from german77/max-clock
config: Fix per game Force max clock
This commit is contained in:
commit
5eeadde3c8
@ -1312,9 +1312,7 @@ void Config::SaveRendererValues() {
|
|||||||
static_cast<u32>(Settings::values.renderer_backend.GetValue(global)),
|
static_cast<u32>(Settings::values.renderer_backend.GetValue(global)),
|
||||||
static_cast<u32>(Settings::values.renderer_backend.GetDefault()),
|
static_cast<u32>(Settings::values.renderer_backend.GetDefault()),
|
||||||
Settings::values.renderer_backend.UsingGlobal());
|
Settings::values.renderer_backend.UsingGlobal());
|
||||||
WriteSetting(QString::fromStdString(Settings::values.renderer_force_max_clock.GetLabel()),
|
WriteGlobalSetting(Settings::values.renderer_force_max_clock);
|
||||||
static_cast<u32>(Settings::values.renderer_force_max_clock.GetValue(global)),
|
|
||||||
static_cast<u32>(Settings::values.renderer_force_max_clock.GetDefault()));
|
|
||||||
WriteGlobalSetting(Settings::values.vulkan_device);
|
WriteGlobalSetting(Settings::values.vulkan_device);
|
||||||
WriteSetting(QString::fromStdString(Settings::values.fullscreen_mode.GetLabel()),
|
WriteSetting(QString::fromStdString(Settings::values.fullscreen_mode.GetLabel()),
|
||||||
static_cast<u32>(Settings::values.fullscreen_mode.GetValue(global)),
|
static_cast<u32>(Settings::values.fullscreen_mode.GetValue(global)),
|
||||||
|
@ -45,8 +45,6 @@ void ConfigureGraphicsAdvanced::SetConfiguration() {
|
|||||||
&Settings::values.max_anisotropy);
|
&Settings::values.max_anisotropy);
|
||||||
ConfigurationShared::SetHighlight(ui->label_gpu_accuracy,
|
ConfigurationShared::SetHighlight(ui->label_gpu_accuracy,
|
||||||
!Settings::values.gpu_accuracy.UsingGlobal());
|
!Settings::values.gpu_accuracy.UsingGlobal());
|
||||||
ConfigurationShared::SetHighlight(ui->renderer_force_max_clock,
|
|
||||||
!Settings::values.renderer_force_max_clock.UsingGlobal());
|
|
||||||
ConfigurationShared::SetHighlight(ui->af_label,
|
ConfigurationShared::SetHighlight(ui->af_label,
|
||||||
!Settings::values.max_anisotropy.UsingGlobal());
|
!Settings::values.max_anisotropy.UsingGlobal());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user