From 50eb8a5c81767b64e919c7f4e815ed7fada28581 Mon Sep 17 00:00:00 2001 From: spycrab Date: Tue, 30 Jan 2018 12:08:44 +0100 Subject: [PATCH] Qt/AdvancedPane: Add ability to change clock speed while the game is running --- Source/Core/DolphinQt2/Settings/AdvancedPane.cpp | 3 +-- 1 file changed, 1 insertion(+), 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);