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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user