Hotfix: Emu.Quit after Emu.Stop

This commit is contained in:
Nekotekina 2020-12-18 13:37:14 +03:00
parent db9b7db531
commit 1adec3d8e5

View File

@ -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);
}