CPUManager: Remove redundant parameter from PauseAndLock

PauseAndLock was only called with control_adjacent=false. Remove the
parameter and the function call that was only made when it was true.
This commit is contained in:
Dentomologist
2025-10-26 17:56:31 -07:00
parent 48d48fe1af
commit 8d0dbb0ef6
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -781,7 +781,7 @@ static bool PauseAndLock(Core::System& system, bool do_lock, bool unpause_on_unl
// first pause the CPU
// This acquires a wrapper mutex and converts the current thread into
// a temporary replacement CPU Thread.
was_unpaused = system.GetCPU().PauseAndLock(false);
was_unpaused = system.GetCPU().PauseAndLock();
}
// audio has to come after CPU, because CPU thread can wait for audio thread (m_throttle).