diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-12-18 23:23:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-18 23:23:13 +0100 |
| commit | ccedd45c11c834129369d7d9c45d52be3891cee6 (patch) | |
| tree | be3163d1419b0be2b57c6cc7c42cbe279a63a781 /Source/Core | |
| parent | 0cab6583a9d53ab39ce85bfaf7801c69777de83d (diff) | |
| parent | ca5695aef23745aaa4c5b7852e344db9e32b015e (diff) | |
Merge pull request #12447 from lioncash/ppc
Core/Debugger/PPCDebugInterface: Remove global system accessor
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Debugger/PPCDebugInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/Debugger/PPCDebugInterface.cpp b/Source/Core/Core/Debugger/PPCDebugInterface.cpp index 094adff4ea..d6afc64e69 100644 --- a/Source/Core/Core/Debugger/PPCDebugInterface.cpp +++ b/Source/Core/Core/Debugger/PPCDebugInterface.cpp @@ -333,7 +333,7 @@ u32 PPCDebugInterface::ReadExtraMemory(const Core::CPUThreadGuard& guard, int me return PowerPC::MMU::HostRead_U32(guard, address); case 1: { - auto& dsp = Core::System::GetInstance().GetDSP(); + const auto& dsp = guard.GetSystem().GetDSP(); return (dsp.ReadARAM(address) << 24) | (dsp.ReadARAM(address + 1) << 16) | (dsp.ReadARAM(address + 2) << 8) | (dsp.ReadARAM(address + 3)); } |
