summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/ThreadWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/ThreadWidget.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp b/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
index 3905700f2b..3ba804acb1 100644
--- a/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
@@ -314,7 +314,7 @@ void ThreadWidget::Update()
m_queue_tail->setText(format_hex_from(guard, 0x800000E0));
// Thread group
- m_threads = PowerPC::debug_interface.GetThreads(guard);
+ m_threads = guard.GetSystem().GetPowerPC().GetDebugInterface().GetThreads(guard);
int i = 0;
m_thread_table->setRowCount(i);
@@ -458,9 +458,10 @@ void ThreadWidget::UpdateThreadCallstack(const Core::CPUThreadGuard& guard,
{
const u32 lr_save = PowerPC::MMU::HostRead_U32(guard, sp + 4);
m_callstack_table->setItem(i, 2, new QTableWidgetItem(format_hex(lr_save)));
- m_callstack_table->setItem(i, 3,
- new QTableWidgetItem(QString::fromStdString(
- PowerPC::debug_interface.GetDescription(lr_save))));
+ m_callstack_table->setItem(
+ i, 3,
+ new QTableWidgetItem(QString::fromStdString(
+ guard.GetSystem().GetPowerPC().GetDebugInterface().GetDescription(lr_save))));
}
else
{