diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-06-02 20:50:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-02 20:50:44 +0200 |
| commit | a58bb2aa24af808115836bc4bec002bef5b7628e (patch) | |
| tree | 44749310c417d4ff3846929aa2738297dd119598 /Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp | |
| parent | fc6ba6b686906140bbac16bff5e518608d02c00d (diff) | |
| parent | 177dae6a1aafdbe3d0cba01cb7f8c4e1001a584e (diff) | |
Merge pull request #10701 from TryTwo/PR_Memory_Widget_Connections
Debugger MemoryWidget: Navigate to memory from breakpoint widget and cheat search.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp index 258a155f01..c8d98aabae 100644 --- a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp @@ -18,6 +18,7 @@ #include "Core/PowerPC/PPCSymbolDB.h" #include "Core/PowerPC/PowerPC.h" +#include "DolphinQt/Debugger/MemoryWidget.h" #include "DolphinQt/Debugger/NewBreakpointDialog.h" #include "DolphinQt/Resources.h" #include "DolphinQt/Settings.h" @@ -355,13 +356,13 @@ void BreakpointWidget::OnContextMenu() if (bp_iter == inst_breakpoints.end()) return; + menu->addAction(tr("Show in Code"), [this, bp_address] { emit ShowCode(bp_address); }); menu->addAction(bp_iter->is_enabled ? tr("Disable") : tr("Enable"), [this, &bp_address]() { PowerPC::breakpoints.ToggleBreakPoint(bp_address); emit BreakpointsChanged(); Update(); }); - menu->addAction(tr("Go to"), [this, bp_address] { emit SelectedBreakpoint(bp_address); }); } else { @@ -372,6 +373,7 @@ void BreakpointWidget::OnContextMenu() if (mb_iter == memory_breakpoints.end()) return; + menu->addAction(tr("Show in Memory"), [this, bp_address] { emit ShowMemory(bp_address); }); menu->addAction(mb_iter->is_enabled ? tr("Disable") : tr("Enable"), [this, &bp_address]() { PowerPC::memchecks.ToggleBreakPoint(bp_address); |
