Merge pull request #11997 from Dentomologist/dspemulator_remove_pauseandlock_parameter
DSPEmulator: Remove unused PauseAndLock parameter
This commit is contained in:
commit
e71f42f819
|
@ -812,7 +812,7 @@ static bool PauseAndLock(Core::System& system, bool do_lock, bool unpause_on_unl
|
||||||
system.GetExpansionInterface().PauseAndLock(do_lock, false);
|
system.GetExpansionInterface().PauseAndLock(do_lock, false);
|
||||||
|
|
||||||
// audio has to come after CPU, because CPU thread can wait for audio thread (m_throttle).
|
// audio has to come after CPU, because CPU thread can wait for audio thread (m_throttle).
|
||||||
system.GetDSP().GetDSPEmulator()->PauseAndLock(do_lock, false);
|
system.GetDSP().GetDSPEmulator()->PauseAndLock(do_lock);
|
||||||
|
|
||||||
// video has to come after CPU, because CPU thread can wait for video thread
|
// video has to come after CPU, because CPU thread can wait for video thread
|
||||||
// (s_efbAccessRequested).
|
// (s_efbAccessRequested).
|
||||||
|
|
|
@ -18,7 +18,7 @@ public:
|
||||||
virtual void Shutdown() = 0;
|
virtual void Shutdown() = 0;
|
||||||
|
|
||||||
virtual void DoState(PointerWrap& p) = 0;
|
virtual void DoState(PointerWrap& p) = 0;
|
||||||
virtual void PauseAndLock(bool do_lock, bool unpause_on_unlock = true) = 0;
|
virtual void PauseAndLock(bool do_lock) = 0;
|
||||||
|
|
||||||
virtual void DSP_WriteMailBoxHigh(bool cpu_mailbox, u16 value) = 0;
|
virtual void DSP_WriteMailBoxHigh(bool cpu_mailbox, u16 value) = 0;
|
||||||
virtual void DSP_WriteMailBoxLow(bool cpu_mailbox, u16 value) = 0;
|
virtual void DSP_WriteMailBoxLow(bool cpu_mailbox, u16 value) = 0;
|
||||||
|
|
|
@ -240,7 +240,7 @@ u16 DSPHLE::DSP_ReadControlRegister()
|
||||||
return m_dsp_control.Hex;
|
return m_dsp_control.Hex;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DSPHLE::PauseAndLock(bool do_lock, bool unpause_on_unlock)
|
void DSPHLE::PauseAndLock(bool do_lock)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
} // namespace DSP::HLE
|
} // namespace DSP::HLE
|
||||||
|
|
|
@ -26,7 +26,7 @@ public:
|
||||||
void Shutdown() override;
|
void Shutdown() override;
|
||||||
bool IsLLE() const override { return false; }
|
bool IsLLE() const override { return false; }
|
||||||
void DoState(PointerWrap& p) override;
|
void DoState(PointerWrap& p) override;
|
||||||
void PauseAndLock(bool do_lock, bool unpause_on_unlock = true) override;
|
void PauseAndLock(bool do_lock) override;
|
||||||
|
|
||||||
void DSP_WriteMailBoxHigh(bool cpu_mailbox, u16 value) override;
|
void DSP_WriteMailBoxHigh(bool cpu_mailbox, u16 value) override;
|
||||||
void DSP_WriteMailBoxLow(bool cpu_mailbox, u16 value) override;
|
void DSP_WriteMailBoxLow(bool cpu_mailbox, u16 value) override;
|
||||||
|
|
|
@ -288,7 +288,7 @@ u32 DSPLLE::DSP_UpdateRate()
|
||||||
return 12600; // TO BE TWEAKED
|
return 12600; // TO BE TWEAKED
|
||||||
}
|
}
|
||||||
|
|
||||||
void DSPLLE::PauseAndLock(bool do_lock, bool unpause_on_unlock)
|
void DSPLLE::PauseAndLock(bool do_lock)
|
||||||
{
|
{
|
||||||
if (do_lock)
|
if (do_lock)
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,7 +26,7 @@ public:
|
||||||
void Shutdown() override;
|
void Shutdown() override;
|
||||||
bool IsLLE() const override { return true; }
|
bool IsLLE() const override { return true; }
|
||||||
void DoState(PointerWrap& p) override;
|
void DoState(PointerWrap& p) override;
|
||||||
void PauseAndLock(bool do_lock, bool unpause_on_unlock = true) override;
|
void PauseAndLock(bool do_lock) override;
|
||||||
|
|
||||||
void DSP_WriteMailBoxHigh(bool cpu_mailbox, u16 value) override;
|
void DSP_WriteMailBoxHigh(bool cpu_mailbox, u16 value) override;
|
||||||
void DSP_WriteMailBoxLow(bool cpu_mailbox, u16 value) override;
|
void DSP_WriteMailBoxLow(bool cpu_mailbox, u16 value) override;
|
||||||
|
|
Loading…
Reference in New Issue