diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-03-28 20:26:52 +0200 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-04-09 21:48:37 +0200 |
| commit | 23843583bf2fcc349bef18b37e1a8539be3db17d (patch) | |
| tree | 30b0173c93d94adcba797f73ab308ada90327612 /Source/Core/DolphinQt/Debugger/ThreadWidget.cpp | |
| parent | ebbbdc49ab3412693c40add3a56183926e0559b7 (diff) | |
PowerPC: Refactor to class, move to System.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/ThreadWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/ThreadWidget.cpp | 9 |
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 { |
