diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-12-29 15:08:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-29 15:08:51 +0100 |
| commit | 75b8824c95176118b0d04b813e744f2b306ea026 (patch) | |
| tree | 41a78010cecbcc5c68998e186e4f23b70f794310 /Source/Core/DolphinQt/MainWindow.cpp | |
| parent | 187058a07277560061eb63e54d8a5562cd56f939 (diff) | |
| parent | 3e3f9565ec784f99d8f143bb21f2f5206d41ab14 (diff) | |
Merge pull request #7658 from spycrab/debugger_show
Qt/Debugger: Add Show in Code / Show in Memory
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index e3c06d09eb..1b57cbe96c 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -361,8 +361,12 @@ void MainWindow::CreateComponents() connect(m_code_widget, &CodeWidget::BreakpointsChanged, m_breakpoint_widget, &BreakpointWidget::Update); connect(m_code_widget, &CodeWidget::RequestPPCComparison, m_jit_widget, &JITWidget::Compare); + connect(m_code_widget, &CodeWidget::ShowMemory, m_memory_widget, &MemoryWidget::SetAddress); connect(m_memory_widget, &MemoryWidget::BreakpointsChanged, m_breakpoint_widget, &BreakpointWidget::Update); + connect(m_memory_widget, &MemoryWidget::ShowCode, m_code_widget, [this](u32 address) { + m_code_widget->SetAddress(address, CodeViewWidget::SetAddressUpdate::WithUpdate); + }); connect(m_breakpoint_widget, &BreakpointWidget::BreakpointsChanged, m_code_widget, &CodeWidget::Update); |
