mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
PowerPC/MMU: Refactor to class, move to System.
This commit is contained in:
@ -987,10 +987,11 @@ void CodeViewWidget::OnReplaceInstruction()
|
||||
|
||||
const u32 addr = GetContextAddress();
|
||||
|
||||
if (!PowerPC::HostIsInstructionRAMAddress(guard, addr))
|
||||
if (!PowerPC::MMU::HostIsInstructionRAMAddress(guard, addr))
|
||||
return;
|
||||
|
||||
const PowerPC::TryReadInstResult read_result = PowerPC::TryReadInstruction(addr);
|
||||
const PowerPC::TryReadInstResult read_result =
|
||||
guard.GetSystem().GetMMU().TryReadInstruction(addr);
|
||||
if (!read_result.valid)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user