diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-06-04 18:13:05 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-06-04 18:13:05 +0200 |
| commit | b13cf2e16eb0d964789c9073faefdfda5fb7c1b6 (patch) | |
| tree | 34cb75bced451c094f74068fe9ca67f7c91b9e2f /Source/Core | |
| parent | 8e0ea92ec35a0473e79ef012b9f98b7a38d3ef33 (diff) | |
Qt: Fix emulation still not being paused when confirming exit
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index e133403f3f..4bc18c16fd 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -637,7 +637,7 @@ bool MainWindow::RequestStop() const Core::State state = Core::GetState(); // Only pause the game, if NetPlay is not running - bool pause = !m_netplay_dialog->isVisible(); + bool pause = Settings::Instance().GetNetPlayClient() == nullptr; if (pause) Core::SetState(Core::State::Paused); |
