Skip to content

Commit

Permalink
Qt/GeneralPane: Disable Rich Presence checkbox while emulation is run…
Browse files Browse the repository at this point in the history
…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 d438e80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/DolphinQt/Settings/GeneralPane.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit d438e80

Please sign in to comment.