mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-19 19:00:09 +02:00
Qt: Fix game not getting paused when exit prompt is open
This commit is contained in:
@ -601,7 +601,7 @@ bool MainWindow::RequestStop()
|
||||
const Core::State state = Core::GetState();
|
||||
|
||||
// Only pause the game, if NetPlay is not running
|
||||
bool pause = Settings::Instance().GetNetPlayClient() != nullptr;
|
||||
bool pause = !m_netplay_dialog->isVisible();
|
||||
|
||||
if (pause)
|
||||
Core::SetState(Core::State::Paused);
|
||||
|
Reference in New Issue
Block a user