mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-11 05:59:07 -06:00
CPU: Remove default arguments for PauseAndLock
For clarity in the next commit.
This commit is contained in:
@@ -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(true);
|
||||
was_unpaused = system.GetCPU().PauseAndLock(true, true, false);
|
||||
}
|
||||
|
||||
// audio has to come after CPU, because CPU thread can wait for audio thread (m_throttle).
|
||||
|
||||
@@ -95,7 +95,7 @@ public:
|
||||
// Cannot be used by System threads as it will deadlock. It is threadsafe otherwise.
|
||||
// "control_adjacent" causes PauseAndLock to behave like SetStepping by modifying the
|
||||
// state of the Audio and FIFO subsystems as well.
|
||||
bool PauseAndLock(bool do_lock, bool unpause_on_unlock = true, bool control_adjacent = false);
|
||||
bool PauseAndLock(bool do_lock, bool unpause_on_unlock, bool control_adjacent);
|
||||
void RestoreStateAndUnlock(bool unpause_on_unlock, bool control_adjacent);
|
||||
|
||||
// Adds a job to be executed during on the CPU thread. This should be combined with
|
||||
|
||||
Reference in New Issue
Block a user