mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
PPU debugger: Add instruction disasm for PPU calling history
This commit is contained in:
parent
6f6503ee32
commit
904ec44a8c
1 changed files with 4 additions and 1 deletions
|
@ -494,10 +494,13 @@ void debugger_frame::keyPressEvent(QKeyEvent* event)
|
|||
|
||||
std::string ret;
|
||||
|
||||
PPUDisAsm dis_asm(cpu_disasm_mode::normal, vm::g_sudo_addr);
|
||||
u32 i = 0;
|
||||
|
||||
for (auto it = copy.rbegin(); it != copy.rend(); it++, i++)
|
||||
{
|
||||
fmt::append(ret, "\n(%u) 0x%08x", i, *it);
|
||||
dis_asm.disasm(*it);
|
||||
fmt::append(ret, "\n(%u) 0x%08x: %s", i, *it, dis_asm.last_opcode);
|
||||
}
|
||||
|
||||
if (ret.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue