mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 12:05:52 +00:00
Qt: Fix cancelling overclock enable writing true to settings
This commit is contained in:
parent
5bc61849eb
commit
1da6db7260
@ -66,6 +66,7 @@ void ConsoleSettingsWidget::onEnableCPUClockSpeedControlChecked(int state)
|
|||||||
{
|
{
|
||||||
QSignalBlocker sb(m_ui.enableCPUClockSpeedControl);
|
QSignalBlocker sb(m_ui.enableCPUClockSpeedControl);
|
||||||
m_ui.enableCPUClockSpeedControl->setChecked(Qt::Unchecked);
|
m_ui.enableCPUClockSpeedControl->setChecked(Qt::Unchecked);
|
||||||
|
m_host_interface->SetBoolSettingValue("CPU", "OverclockEnable", false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user