mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
PowerPC/MMU: Refactor to class, move to System.
This commit is contained in:
parent
012044eb64
commit
8dabd1a025
51 changed files with 1314 additions and 1149 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue