Merge pull request #7065 from spycrab/qt_pause_exit

Qt: Fix emulation still not being paused when confirming exit
This commit is contained in:
spycrab 2018-06-04 19:16:16 +02:00 committed by GitHub
commit afc2c51e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);