mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-20 07:15:38 +00:00
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)
|
if (save_resume_state)
|
||||||
SaveResumeState();
|
SaveResumeState();
|
||||||
|
|
||||||
if (s_system_executing)
|
|
||||||
s_state = State::Stopping;
|
s_state = State::Stopping;
|
||||||
else
|
if (!s_system_executing)
|
||||||
DestroySystem();
|
DestroySystem();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue