summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2023-12-14 22:18:06 +0000
committerGitHub <noreply@github.com>2023-12-14 22:18:06 +0000
commite8f8cf0740430ea42add1cb17fa1555df6f265a4 (patch)
tree5f4348aad184456f0b95122c6338e314edcdfea1 /Source/Core
parent84ac561e46bdd62cb362e548fecaa74b50e2f05b (diff)
parent1573b50bb330aede1e0472e0220ccb99098fbf08 (diff)
Merge pull request #12424 from lioncash/cpumanager
HW/CPU: Remove remaining global system accessors
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/CPU.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/Core/HW/CPU.cpp b/Source/Core/Core/HW/CPU.cpp
index 8a9634d527..15237dab30 100644
--- a/Source/Core/Core/HW/CPU.cpp
+++ b/Source/Core/Core/HW/CPU.cpp
@@ -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()