mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
Qt/Debugger: Add Show in Code / Show in Memory
This commit is contained in:
@ -212,6 +212,7 @@ void MemoryWidget::ConnectWidgets()
|
||||
connect(m_bp_log_check, &QCheckBox::toggled, this, &MemoryWidget::OnBPLogChanged);
|
||||
connect(m_memory_view, &MemoryViewWidget::BreakpointsChanged, this,
|
||||
&MemoryWidget::BreakpointsChanged);
|
||||
connect(m_memory_view, &MemoryViewWidget::ShowCode, this, &MemoryWidget::ShowCode);
|
||||
}
|
||||
|
||||
void MemoryWidget::closeEvent(QCloseEvent*)
|
||||
@ -323,6 +324,15 @@ void MemoryWidget::OnBPTypeChanged()
|
||||
SaveSettings();
|
||||
}
|
||||
|
||||
void MemoryWidget::SetAddress(u32 address)
|
||||
{
|
||||
m_memory_view->SetAddress(address);
|
||||
Settings::Instance().SetMemoryVisible(true);
|
||||
raise();
|
||||
|
||||
m_memory_view->setFocus();
|
||||
}
|
||||
|
||||
void MemoryWidget::OnSearchAddress()
|
||||
{
|
||||
bool good;
|
||||
|
Reference in New Issue
Block a user