mirror of https://github.com/PCSX2/pcsx2.git
VMManager: Fix brief unpause before shutdown
This commit is contained in:
parent
22dfe05287
commit
ddd5fc7bf3
|
@ -116,7 +116,7 @@ void VMManager::SetState(VMState state)
|
||||||
SetTimerResolutionIncreased(state == VMState::Running);
|
SetTimerResolutionIncreased(state == VMState::Running);
|
||||||
s_state.store(state);
|
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)
|
if (state == VMState::Paused)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue