mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 15:21:41 +00:00
Follow-up fixes for "Properly lock CPU before accessing emulated memory"
This commit is contained in:
parent
9d139ea84e
commit
5b6784432c
2 changed files with 2 additions and 3 deletions
|
@ -754,7 +754,7 @@ void CodeViewWidget::OnCopyTargetAddress()
|
|||
const std::optional<u32> target_addr =
|
||||
PowerPC::debug_interface.GetMemoryAddressFromInstruction(code_line);
|
||||
|
||||
if (addr)
|
||||
if (target_addr)
|
||||
{
|
||||
QApplication::clipboard()->setText(
|
||||
QStringLiteral("%1").arg(*target_addr, 8, 16, QLatin1Char('0')));
|
||||
|
@ -784,7 +784,7 @@ void CodeViewWidget::OnShowTargetInMemory()
|
|||
const std::optional<u32> target_addr =
|
||||
PowerPC::debug_interface.GetMemoryAddressFromInstruction(code_line);
|
||||
|
||||
if (addr)
|
||||
if (target_addr)
|
||||
emit ShowMemory(*target_addr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue