mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
Hotfix: Emu.Quit after Emu.Stop
This commit is contained in:
parent
db9b7db531
commit
1adec3d8e5
1 changed files with 4 additions and 1 deletions
|
@ -1980,7 +1980,10 @@ bool Emulator::Quit(bool force_quit)
|
||||||
m_force_boot = false;
|
m_force_boot = false;
|
||||||
|
|
||||||
// Deinitialize object manager to prevent any hanging objects at program exit
|
// Deinitialize object manager to prevent any hanging objects at program exit
|
||||||
*g_fxo = {};
|
if (force_quit)
|
||||||
|
{
|
||||||
|
*g_fxo = {};
|
||||||
|
}
|
||||||
|
|
||||||
return GetCallbacks().exit(force_quit);
|
return GetCallbacks().exit(force_quit);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue