mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
HW/Memmap: Avoid ppcState global.
This commit is contained in:
parent
2bf72de43d
commit
884130f95c
@ -482,8 +482,9 @@ u8* MemoryManager::GetPointer(u32 address) const
|
||||
return m_exram + (address & GetExRamMask());
|
||||
}
|
||||
|
||||
PanicAlertFmt("Unknown Pointer {:#010x} PC {:#010x} LR {:#010x}", address, PowerPC::ppcState.pc,
|
||||
LR(PowerPC::ppcState));
|
||||
auto& ppc_state = Core::System::GetInstance().GetPPCState();
|
||||
PanicAlertFmt("Unknown Pointer {:#010x} PC {:#010x} LR {:#010x}", address, ppc_state.pc,
|
||||
LR(ppc_state));
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user