From f628a979c435723eaec40b7081634a67b575fcb8 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Sun, 4 Jun 2023 14:30:38 -0700 Subject: [PATCH] Core: Remove pointless call to FifoManager::PauseAndLock FifoManager::PauseAndLock doesn't do anything when doLock and unpauseOnUnlock are both false, so remove the call. --- Source/Core/Core/Core.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index 81f1695ea9..a433f65665 100644 --- a/Source/Core/Core/Core.cpp +++ b/Source/Core/Core/Core.cpp @@ -799,7 +799,6 @@ static void RestoreStateAndUnlock(Core::System& system, const bool unpause_on_un return; system.GetDSP().GetDSPEmulator()->PauseAndLock(false); - system.GetFifo().PauseAndLock(false, false); ResetRumble(); // CPU is unlocked last because CPU::RestoreStateAndUnlock contains the synchronization mechanism