mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #7741 from Techjar/no-resume-on-stop
Qt/MainWindow: Don't unpause after confirming shutdown
This commit is contained in:
@ -766,11 +766,13 @@ bool MainWindow::RequestStop()
|
|||||||
"before it completes. Force stop?") :
|
"before it completes. Force stop?") :
|
||||||
tr("Do you want to stop the current emulation?"));
|
tr("Do you want to stop the current emulation?"));
|
||||||
|
|
||||||
if (pause)
|
|
||||||
Core::SetState(state);
|
|
||||||
|
|
||||||
if (confirm != QMessageBox::Yes)
|
if (confirm != QMessageBox::Yes)
|
||||||
|
{
|
||||||
|
if (pause)
|
||||||
|
Core::SetState(state);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Add Movie shutdown
|
// TODO: Add Movie shutdown
|
||||||
|
Reference in New Issue
Block a user