mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
Qt: Fix emulation not returning to its original state when aborting shutdown
This commit is contained in:
parent
94ba78d717
commit
feb67a3953
@ -301,11 +301,11 @@ bool MainWindow::Stop()
|
|||||||
"may be lost if you stop the current emulation "
|
"may be lost if you stop the current emulation "
|
||||||
"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 (confirm != QMessageBox::Yes)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (pause)
|
if (pause)
|
||||||
Core::SetState(state);
|
Core::SetState(state);
|
||||||
|
|
||||||
|
if (confirm != QMessageBox::Yes)
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Add Movie shutdown
|
// TODO: Add Movie shutdown
|
||||||
|
Loading…
x
Reference in New Issue
Block a user