mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
Qt/Debugger: Add Show in Code / Show in Memory
This commit is contained in:
parent
0a8e04e469
commit
3e3f9565ec
9 changed files with 40 additions and 0 deletions
|
@ -164,6 +164,7 @@ void CodeWidget::ConnectWidgets()
|
|||
|
||||
connect(m_code_view, &CodeViewWidget::RequestPPCComparison, this,
|
||||
&CodeWidget::RequestPPCComparison);
|
||||
connect(m_code_view, &CodeViewWidget::ShowMemory, this, &CodeWidget::ShowMemory);
|
||||
}
|
||||
|
||||
void CodeWidget::OnSearchAddress()
|
||||
|
@ -250,6 +251,12 @@ void CodeWidget::OnSelectFunctionCallers()
|
|||
void CodeWidget::SetAddress(u32 address, CodeViewWidget::SetAddressUpdate update)
|
||||
{
|
||||
m_code_view->SetAddress(address, update);
|
||||
|
||||
if (update == CodeViewWidget::SetAddressUpdate::WithUpdate)
|
||||
{
|
||||
raise();
|
||||
m_code_view->setFocus();
|
||||
}
|
||||
}
|
||||
|
||||
void CodeWidget::Update()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue