mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Qt: Fix emulation still not being paused when confirming exit
This commit is contained in:
parent
8e0ea92ec3
commit
b13cf2e16e
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ bool MainWindow::RequestStop()
|
||||||
const Core::State state = Core::GetState();
|
const Core::State state = Core::GetState();
|
||||||
|
|
||||||
// Only pause the game, if NetPlay is not running
|
// Only pause the game, if NetPlay is not running
|
||||||
bool pause = !m_netplay_dialog->isVisible();
|
bool pause = Settings::Instance().GetNetPlayClient() == nullptr;
|
||||||
|
|
||||||
if (pause)
|
if (pause)
|
||||||
Core::SetState(Core::State::Paused);
|
Core::SetState(Core::State::Paused);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue