mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Merge pull request #12447 from lioncash/ppc
Core/Debugger/PPCDebugInterface: Remove global system accessor
This commit is contained in:
commit
ccedd45c11
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue