diff options
| author | Sepalani <sepalani@hotmail.fr> | 2021-02-14 16:01:32 +0400 |
|---|---|---|
| committer | Sepalani <sepalani@hotmail.fr> | 2021-02-14 16:01:32 +0400 |
| commit | 5f629abd8b89971872b0c2c2cdc8ea0035e8998d (patch) | |
| tree | 6085b0430e12cc3b82df88077cae9af3742e4a69 /Source/Core/DolphinQt/MainWindow.cpp | |
| parent | 2f85b80b7bf75434072c1245904587ee8c15fbe2 (diff) | |
CodeViewWidget: Add WithDetailedUpdate to update CodeWidget
This used to also update the function calls and callers.
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index 8e1536b0e4..3c6cb44560 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -419,7 +419,7 @@ void MainWindow::CreateComponents() }; const auto request_view_in_memory = [this](u32 addr) { m_memory_widget->SetAddress(addr); }; const auto request_view_in_code = [this](u32 addr) { - m_code_widget->SetAddress(addr, CodeViewWidget::SetAddressUpdate::WithUpdate); + m_code_widget->SetAddress(addr, CodeViewWidget::SetAddressUpdate::WithDetailedUpdate); }; connect(m_watch_widget, &WatchWidget::RequestMemoryBreakpoint, request_memory_breakpoint); @@ -439,7 +439,7 @@ void MainWindow::CreateComponents() 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); + m_code_widget->SetAddress(address, CodeViewWidget::SetAddressUpdate::WithDetailedUpdate); }); connect(m_breakpoint_widget, &BreakpointWidget::BreakpointsChanged, m_code_widget, @@ -448,7 +448,7 @@ void MainWindow::CreateComponents() &MemoryWidget::Update); connect(m_breakpoint_widget, &BreakpointWidget::SelectedBreakpoint, [this](u32 address) { if (Core::GetState() == Core::State::Paused) - m_code_widget->SetAddress(address, CodeViewWidget::SetAddressUpdate::WithUpdate); + m_code_widget->SetAddress(address, CodeViewWidget::SetAddressUpdate::WithDetailedUpdate); }); } |
