mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-15 09:40:05 +00:00
SPU/PPU disasm: replace "illegal address" with question marks
This commit is contained in:
parent
0e6abd66ca
commit
2d1d36678d
@ -82,7 +82,7 @@ void debugger_list::ShowAddress(u32 addr, bool force)
|
||||
u32 pc = m_pc;
|
||||
for (uint i = 0; i < m_item_count; ++i, pc += 4)
|
||||
{
|
||||
item(i)->setText(qstr(fmt::format(" [%08x] illegal address", pc)));
|
||||
item(i)->setText(qstr(fmt::format(" [%08x] ?? ?? ?? ??:", pc)));
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -98,7 +98,7 @@ void debugger_list::ShowAddress(u32 addr, bool force)
|
||||
{
|
||||
if (!vm::check_addr(cpu_offset + pc, 4))
|
||||
{
|
||||
item(i)->setText((IsBreakpoint(pc) ? ">> " : " ") + qstr(fmt::format("[%08x] illegal address", pc)));
|
||||
item(i)->setText((IsBreakpoint(pc) ? ">> " : " ") + qstr(fmt::format("[%08x] ?? ?? ?? ??:", pc)));
|
||||
count = 4;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user