diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-03-31 06:36:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-31 06:36:09 +0200 |
| commit | a2074a85831b873a5bf3e773ad903622400a3128 (patch) | |
| tree | d95a3a9da1585bdc638e273bc7f04fe6e172f6d0 /Source/Core/DolphinQt/Debugger/BranchWatchDialog.cpp | |
| parent | 6e5f8d669227a7cfea247023c5aa2eeabe54f99a (diff) | |
| parent | b52a08d5332949c3b22f8434155cc8095d94df3a (diff) | |
Merge pull request #12645 from mitaclaw/ppc-symbols-signal
DolphinQt: A Ubiquitous Signal For When Symbols Change
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/BranchWatchDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/BranchWatchDialog.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/Core/DolphinQt/Debugger/BranchWatchDialog.cpp b/Source/Core/DolphinQt/Debugger/BranchWatchDialog.cpp index d9ff18db03..5cbd75faac 100644 --- a/Source/Core/DolphinQt/Debugger/BranchWatchDialog.cpp +++ b/Source/Core/DolphinQt/Debugger/BranchWatchDialog.cpp @@ -42,6 +42,7 @@ #include "Core/System.h" #include "DolphinQt/Debugger/BranchWatchTableModel.h" #include "DolphinQt/Debugger/CodeWidget.h" +#include "DolphinQt/Host.h" #include "DolphinQt/QtUtils/DolphinFileDialog.h" #include "DolphinQt/QtUtils/ModalMessageBox.h" #include "DolphinQt/QtUtils/SetWindowDecorations.h" @@ -219,6 +220,8 @@ BranchWatchDialog::BranchWatchDialog(Core::System& system, Core::BranchWatch& br m_table_model->setFont(ui_settings.GetDebugFont()); connect(&ui_settings, &Settings::DebugFontChanged, m_table_model, &BranchWatchTableModel::setFont); + connect(Host::GetInstance(), &Host::PPCSymbolsChanged, m_table_model, + &BranchWatchTableModel::UpdateSymbols); auto* const table_view = new QTableView; table_view->setModel(m_table_proxy); @@ -938,11 +941,6 @@ void BranchWatchDialog::Update() m_table_model->UpdateHits(); } -void BranchWatchDialog::UpdateSymbols() -{ - m_table_model->UpdateSymbols(); -} - void BranchWatchDialog::UpdateStatus() { switch (m_branch_watch.GetRecordingPhase()) |
