From d438e80bfdb24783f3f5ad2d9e136c7d139551e9 Mon Sep 17 00:00:00 2001 From: spycrab Date: Sat, 14 Jul 2018 23:38:55 +0200 Subject: [PATCH] Qt/GeneralPane: Disable Rich Presence checkbox while emulation is running Works around core hanging when Discord Rich Presence is toggled while emulation is running. --- Source/Core/DolphinQt/Settings/GeneralPane.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt/Settings/GeneralPane.cpp b/Source/Core/DolphinQt/Settings/GeneralPane.cpp index a7037d96ee..d962497951 100644 --- a/Source/Core/DolphinQt/Settings/GeneralPane.cpp +++ b/Source/Core/DolphinQt/Settings/GeneralPane.cpp @@ -83,6 +83,8 @@ void GeneralPane::OnEmulationStateChanged(Core::State state) m_checkbox_dualcore->setEnabled(!running); m_checkbox_cheats->setEnabled(!running); + m_checkbox_discord_presence->setEnabled(!running); + for (QRadioButton* radio_button : m_cpu_cores) radio_button->setEnabled(!running); }