mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-16 04:09:39 +00:00
Core: Remove pointless call to FifoManager::PauseAndLock
FifoManager::PauseAndLock doesn't do anything when doLock and unpauseOnUnlock are both false, so remove the call.
This commit is contained in:
parent
2d888ea4d3
commit
f628a979c4
@ -799,7 +799,6 @@ static void RestoreStateAndUnlock(Core::System& system, const bool unpause_on_un
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
system.GetDSP().GetDSPEmulator()->PauseAndLock(false);
|
system.GetDSP().GetDSPEmulator()->PauseAndLock(false);
|
||||||
system.GetFifo().PauseAndLock(false, false);
|
|
||||||
ResetRumble();
|
ResetRumble();
|
||||||
|
|
||||||
// CPU is unlocked last because CPU::RestoreStateAndUnlock contains the synchronization mechanism
|
// CPU is unlocked last because CPU::RestoreStateAndUnlock contains the synchronization mechanism
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user