System: Mark the VM as Stopping in ShutdownSystem unconditionally
Fixes an issue where Discord RPC didn't revert to "No Game Running" on shutdown.
This commit is contained in:
parent
d08a40bcd8
commit
8d491d3faa
|
@ -4138,9 +4138,8 @@ void System::ShutdownSystem(bool save_resume_state)
|
|||
if (save_resume_state)
|
||||
SaveResumeState();
|
||||
|
||||
if (s_system_executing)
|
||||
s_state = State::Stopping;
|
||||
else
|
||||
s_state = State::Stopping;
|
||||
if (!s_system_executing)
|
||||
DestroySystem();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue