From 5bc4f9df0d1ffd0d68dd35e9613e33481abfc46d Mon Sep 17 00:00:00 2001 From: Eladash Date: Sat, 13 Jun 2020 23:37:56 +0300 Subject: [PATCH] debugger: Always show zeroes on no thread's instructions positions --- rpcs3/rpcs3qt/debugger_list.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rpcs3/rpcs3qt/debugger_list.cpp b/rpcs3/rpcs3qt/debugger_list.cpp index 290373ad9d..75d5d63a28 100644 --- a/rpcs3/rpcs3qt/debugger_list.cpp +++ b/rpcs3/rpcs3qt/debugger_list.cpp @@ -82,10 +82,9 @@ void debugger_list::ShowAddress(u32 addr, bool force) if (!cpu) { - u32 pc = m_pc; - for (uint i = 0; i < m_item_count; ++i, pc += 4) + for (uint i = 0; i < m_item_count; ++i) { - item(i)->setText(qstr(fmt::format(" [%08x] ?? ?? ?? ??:", pc))); + item(i)->setText(qstr(fmt::format(" [%08x] ?? ?? ?? ??:", 0))); item(i)->setForeground(default_foreground); item(i)->setBackground(default_background); }