mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
DolphinQt: add a 'add to watch' context menu item that allows you to add a memory location found in a cheat search to be added to the watch list
This commit is contained in:
parent
7d7fcdddd3
commit
c8a6ff6309
5 changed files with 9 additions and 0 deletions
|
@ -123,6 +123,8 @@ void CheatsManager::OnNewSessionCreated(const Cheats::CheatSearchSessionBase& se
|
|||
m_ar_code->AddCode(ar_code);
|
||||
});
|
||||
w->connect(w, &CheatSearchWidget::ShowMemory, [this](u32 address) { emit ShowMemory(address); });
|
||||
w->connect(w, &CheatSearchWidget::RequestWatch,
|
||||
[this](QString name, u32 address) { emit RequestWatch(name, address); });
|
||||
m_tab_widget->setCurrentIndex(tab_index);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue