mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -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());
|
return m_exram + (address & GetExRamMask());
|
||||||
}
|
}
|
||||||
|
|
||||||
PanicAlertFmt("Unknown Pointer {:#010x} PC {:#010x} LR {:#010x}", address, PowerPC::ppcState.pc,
|
auto& ppc_state = Core::System::GetInstance().GetPPCState();
|
||||||
LR(PowerPC::ppcState));
|
PanicAlertFmt("Unknown Pointer {:#010x} PC {:#010x} LR {:#010x}", address, ppc_state.pc,
|
||||||
|
LR(ppc_state));
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user