summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
diff options
context:
space:
mode:
authorMai <mai.iam2048@gmail.com>2023-03-08 17:38:40 -0500
committerGitHub <noreply@github.com>2023-03-08 17:38:40 -0500
commit2856723bc1e15c3511d7f94b62fdbce98588ff86 (patch)
tree738b42d375ac31e1e0f0d52dbe965cfa89123758 /Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
parentc592c94395c8ef271eef331ba27d2afaa694c5e9 (diff)
parenta1c2651fee4b10ed5e7276b37669f4cd16aabf49 (diff)
Merge pull request #11632 from AdmiralCurtiss/pass-more-system
Pass System to Boot functions, CPUThreadGuard, IEXIDevice.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp b/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
index a3d1ddec26..1be7d8c785 100644
--- a/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
+++ b/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
@@ -23,6 +23,7 @@
#include "Core/PowerPC/PPCSymbolDB.h"
#include "Core/PowerPC/PowerPC.h"
#include "Core/PowerPC/Profiler.h"
+#include "Core/System.h"
#include "DolphinQt/Debugger/CodeWidget.h"
#include "DolphinQt/Host.h"
@@ -485,7 +486,7 @@ void CodeDiffDialog::OnSetBLR()
return;
{
- Core::CPUThreadGuard guard;
+ Core::CPUThreadGuard guard(Core::System::GetInstance());
PowerPC::debug_interface.SetPatch(guard, symbol->address, 0x4E800020);
}