From 23843583bf2fcc349bef18b37e1a8539be3db17d Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Tue, 28 Mar 2023 20:26:52 +0200 Subject: PowerPC: Refactor to class, move to System. --- Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp') diff --git a/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp b/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp index 11f2a9a287..533fa5e55f 100644 --- a/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp @@ -487,8 +487,9 @@ void CodeDiffDialog::OnSetBLR() return; { - Core::CPUThreadGuard guard(Core::System::GetInstance()); - PowerPC::debug_interface.SetPatch(guard, symbol->address, 0x4E800020); + auto& system = Core::System::GetInstance(); + Core::CPUThreadGuard guard(system); + system.GetPowerPC().GetDebugInterface().SetPatch(guard, symbol->address, 0x4E800020); } int row = item->row(); -- cgit v1.2.3