FifoManager: Remove redundant PauseAndLock parameters

PauseAndLock was only called with do_lock=true, and the function only
used unpauseOnUnlock when do_lock was false.
This commit is contained in:
Dentomologist
2025-10-26 18:01:51 -07:00
parent f497eb519e
commit 933071dd57
5 changed files with 10 additions and 18 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ static void RunWithGPUThreadInactive(std::function<void()> f)
auto& system = Core::System::GetInstance();
const bool was_running = Core::GetState(system) == Core::State::Running;
auto& fifo = system.GetFifo();
fifo.PauseAndLock(true, was_running);
fifo.PauseAndLock();
f();
fifo.RestoreState(was_running);
}