diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-01-10 05:14:32 +0100 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-01-27 15:22:45 +0100 |
| commit | 8adabb86cf20a7cb42d196d3d289b42a9d915c56 (patch) | |
| tree | c8992ca9832491611f10301efa6254b16f96b0b7 /Source/Core/DolphinQt/Debugger/CodeWidget.cpp | |
| parent | bfc951311fef7fee25a5473a484bbeffc8cf3ed6 (diff) | |
Debugger: Avoid ppcState global.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp index b7bdba7786..6bcb5396f8 100644 --- a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp @@ -24,6 +24,7 @@ #include "Core/PowerPC/MMU.h" #include "Core/PowerPC/PPCSymbolDB.h" #include "Core/PowerPC/PowerPC.h" +#include "Core/System.h" #include "DolphinQt/Host.h" #include "DolphinQt/Settings.h" @@ -328,7 +329,7 @@ void CodeWidget::UpdateCallstack() std::vector<Dolphin_Debugger::CallstackEntry> stack; - bool success = Dolphin_Debugger::GetCallstack(stack); + bool success = Dolphin_Debugger::GetCallstack(Core::System::GetInstance(), stack); if (!success) { |
