From 67f6bd2bcb26b72fe7fed0ae2cf47a0b0be72095 Mon Sep 17 00:00:00 2001 From: PugsyMAME Date: Sun, 27 Dec 2020 11:20:26 +0000 Subject: [PATCH] Fixed Pattern found address in Debugger Search "Pattern found at 0x%1" was passing a decimal value to %1 instead of a hexadecimal one --- src/duckstation-qt/debuggerwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/duckstation-qt/debuggerwindow.cpp b/src/duckstation-qt/debuggerwindow.cpp index 6a622e8e0..73e19bb27 100644 --- a/src/duckstation-qt/debuggerwindow.cpp +++ b/src/duckstation-qt/debuggerwindow.cpp @@ -318,12 +318,12 @@ void DebuggerWindow::onMemorySearchTriggered() if (wrapped_around) { m_ui.statusbar->showMessage(tr("Pattern found at 0x%1 (passed the end of memory).") - .arg(static_cast(found_address.value()), 8, 10, static_cast('0'))); + .arg(static_cast(found_address.value()), 8, 16, static_cast('0'))); } else { m_ui.statusbar->showMessage( - tr("Pattern found at 0x%1.").arg(static_cast(found_address.value()), 8, 10, static_cast('0'))); + tr("Pattern found at 0x%1.").arg(static_cast(found_address.value()), 8, 16, static_cast('0'))); } }