mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00: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;
|
||||
|
||||
// Deinitialize object manager to prevent any hanging objects at program exit
|
||||
*g_fxo = {};
|
||||
if (force_quit)
|
||||
{
|
||||
*g_fxo = {};
|
||||
}
|
||||
|
||||
return GetCallbacks().exit(force_quit);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue