Permalink
Browse files

Qt/GeneralPane: Disable Rich Presence checkbox while emulation is run…

…ning

Works around core hanging when Discord Rich Presence is toggled
while emulation is running.
  • Loading branch information...
spycrab committed Jul 14, 2018
1 parent f184718 commit d438e80bfdb24783f3f5ad2d9e136c7d139551e9
Showing with 2 additions and 0 deletions.
  1. +2 −0 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);
}

0 comments on commit d438e80

Please sign in to comment.