diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-01-30 12:08:44 +0100 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-01-30 12:08:44 +0100 |
| commit | 50eb8a5c81767b64e919c7f4e815ed7fada28581 (patch) | |
| tree | d208aa2fdefeb34d322c6f3fcdf74a4150aa6d67 /Source/Core | |
| parent | 3bceb3c52a791688034abf32ff72cd4babdcda48 (diff) | |
Qt/AdvancedPane: Add ability to change clock speed while the game is running
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/Settings/AdvancedPane.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt2/Settings/AdvancedPane.cpp b/Source/Core/DolphinQt2/Settings/AdvancedPane.cpp index 325defbb42..16250b810d 100644 --- a/Source/Core/DolphinQt2/Settings/AdvancedPane.cpp +++ b/Source/Core/DolphinQt2/Settings/AdvancedPane.cpp @@ -124,10 +124,9 @@ void AdvancedPane::ConnectLayout() void AdvancedPane::Update() { const bool running = Core::GetState() != Core::State::Uninitialized; - const bool enable_cpu_clock_override_widgets = SConfig::GetInstance().m_OCEnable && !running; + const bool enable_cpu_clock_override_widgets = SConfig::GetInstance().m_OCEnable; const bool enable_custom_rtc_widgets = SConfig::GetInstance().bEnableCustomRTC && !running; - m_cpu_clock_override_checkbox->setEnabled(!running); m_cpu_clock_override_slider->setEnabled(enable_cpu_clock_override_widgets); m_cpu_clock_override_slider_label->setEnabled(enable_cpu_clock_override_widgets); |
