mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Merge pull request #8387 from sepalani/reg-view-in
RegisterWidget: Fix view in code/memory
This commit is contained in:
commit
a6daed23e7
3 changed files with 11 additions and 2 deletions
|
@ -123,8 +123,10 @@ void RegisterWidget::ShowContextMenu()
|
|||
// It's not related to timekeeping devices.
|
||||
menu->addAction(tr("Add to &watch"), this,
|
||||
[this, item] { emit RequestMemoryBreakpoint(item->GetValue()); });
|
||||
menu->addAction(tr("View &memory"));
|
||||
menu->addAction(tr("View &code"));
|
||||
menu->addAction(tr("View &memory"), this,
|
||||
[this, item] { emit RequestViewInMemory(item->GetValue()); });
|
||||
menu->addAction(tr("View &code"), this,
|
||||
[this, item] { emit RequestViewInCode(item->GetValue()); });
|
||||
|
||||
menu->addSeparator();
|
||||
|
||||
|
|
|
@ -24,6 +24,8 @@ public:
|
|||
|
||||
signals:
|
||||
void RequestTableUpdate();
|
||||
void RequestViewInCode(u32 addr);
|
||||
void RequestViewInMemory(u32 addr);
|
||||
void RequestMemoryBreakpoint(u32 addr);
|
||||
void UpdateTable();
|
||||
void UpdateValue(QTableWidgetItem* item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue