mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 18:50:32 +01:00
VMManager: Fix brief unpause before shutdown
This commit is contained in:
1 parent
22dfe05287
commit
ddd5fc7bf3
1 file changed
+1
-1
+1
-1
@@ -116,7 +116,7 @@ void VMManager::SetState(VMState state)
|
||||
SetTimerResolutionIncreased(state == VMState::Running);
|
||||
s_state.store(state);
|
||||
|
||||
if (state == VMState::Paused || old_state == VMState::Paused)
|
||||
if (state != VMState::Stopping && (state == VMState::Paused || old_state == VMState::Paused))
|
||||
{
|
||||
if (state == VMState::Paused)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user