diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-03-12 20:31:10 +0100 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-03-28 03:47:51 +0200 |
| commit | 8dabd1a0256e4761ad88494280d74397e16af9f5 (patch) | |
| tree | 1b4aeaa06eb6339146a5ab63660e8482b5d18997 /Source/Core/DolphinQt/Debugger/CodeWidget.cpp | |
| parent | 012044eb64afd1551e76440f760ce92e36d3f92c (diff) | |
PowerPC/MMU: Refactor to class, move to System.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeWidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp index d232fede85..29d72faf18 100644 --- a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp @@ -463,7 +463,7 @@ void CodeWidget::StepOver() const UGeckoInstruction inst = [&] { Core::CPUThreadGuard guard(system); - return PowerPC::HostRead_Instruction(guard, PowerPC::ppcState.pc); + return PowerPC::MMU::HostRead_Instruction(guard, PowerPC::ppcState.pc); }(); if (inst.LK) @@ -516,7 +516,7 @@ void CodeWidget::StepOut() // Loop until either the current instruction is a return instruction with no Link flag // or a breakpoint is detected so it can step at the breakpoint. If the PC is currently // on a breakpoint, skip it. - UGeckoInstruction inst = PowerPC::HostRead_Instruction(guard, PowerPC::ppcState.pc); + UGeckoInstruction inst = PowerPC::MMU::HostRead_Instruction(guard, PowerPC::ppcState.pc); do { if (WillInstructionReturn(inst)) @@ -540,7 +540,7 @@ void CodeWidget::StepOut() PowerPC::SingleStep(); } - inst = PowerPC::HostRead_Instruction(guard, PowerPC::ppcState.pc); + inst = PowerPC::MMU::HostRead_Instruction(guard, PowerPC::ppcState.pc); } while (clock::now() < timeout && !PowerPC::breakpoints.IsAddressBreakPoint(PowerPC::ppcState.pc)); |
