mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Merge pull request #12424 from lioncash/cpumanager
HW/CPU: Remove remaining global system accessors
This commit is contained in:
@ -175,11 +175,10 @@ void CPUManager::Run()
|
||||
void CPUManager::RunAdjacentSystems(bool running)
|
||||
{
|
||||
// NOTE: We're assuming these will not try to call Break or EnableStepping.
|
||||
auto& system = Core::System::GetInstance();
|
||||
system.GetFifo().EmulatorState(running);
|
||||
m_system.GetFifo().EmulatorState(running);
|
||||
// Core is responsible for shutting down the sound stream.
|
||||
if (m_state != State::PowerDown)
|
||||
AudioCommon::SetSoundStreamRunning(Core::System::GetInstance(), running);
|
||||
AudioCommon::SetSoundStreamRunning(m_system, running);
|
||||
}
|
||||
|
||||
void CPUManager::Stop()
|
||||
|
Reference in New Issue
Block a user