diff options
| author | TryTwo <taolas@gmail.com> | 2022-05-27 17:34:47 -0700 |
|---|---|---|
| committer | TryTwo <taolas@gmail.com> | 2022-06-01 01:53:15 -0700 |
| commit | 177dae6a1aafdbe3d0cba01cb7f8c4e1001a584e (patch) | |
| tree | 0be9e6da1242437cc8e89a0e34602df051952efa /Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp | |
| parent | 70bf89fa59e3bd48633677374ca26124d36ff7e5 (diff) | |
Add options for BreakpointWidget, WatchWidget, and CheatSearches to send address to Memory Widget
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); |
