mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00:00
HW/CPU: Remove remaining global system accessors
We can just pass in the m_system member instead.
This commit is contained in:
parent
84ac561e46
commit
1573b50bb3
1 changed files with 2 additions and 3 deletions
|
@ -175,11 +175,10 @@ void CPUManager::Run()
|
||||||
void CPUManager::RunAdjacentSystems(bool running)
|
void CPUManager::RunAdjacentSystems(bool running)
|
||||||
{
|
{
|
||||||
// NOTE: We're assuming these will not try to call Break or EnableStepping.
|
// NOTE: We're assuming these will not try to call Break or EnableStepping.
|
||||||
auto& system = Core::System::GetInstance();
|
m_system.GetFifo().EmulatorState(running);
|
||||||
system.GetFifo().EmulatorState(running);
|
|
||||||
// Core is responsible for shutting down the sound stream.
|
// Core is responsible for shutting down the sound stream.
|
||||||
if (m_state != State::PowerDown)
|
if (m_state != State::PowerDown)
|
||||||
AudioCommon::SetSoundStreamRunning(Core::System::GetInstance(), running);
|
AudioCommon::SetSoundStreamRunning(m_system, running);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPUManager::Stop()
|
void CPUManager::Stop()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue