mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
Minor changes related to Emu.Stop()
This commit is contained in:
parent
d8e9382573
commit
9efedbe76a
3 changed files with 14 additions and 3 deletions
|
|
@ -2227,7 +2227,10 @@ void main_window::closeEvent(QCloseEvent* closeEvent)
|
|||
}
|
||||
|
||||
// Cleanly stop and quit the emulator.
|
||||
Emu.Stop();
|
||||
if (!Emu.IsStopped())
|
||||
{
|
||||
Emu.Stop();
|
||||
}
|
||||
Emu.Quit(true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue