mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
PPU debugger: Add instruction disasm for PPU calling history
This commit is contained in:
parent
6f6503ee32
commit
904ec44a8c
@ -494,10 +494,13 @@ void debugger_frame::keyPressEvent(QKeyEvent* event)
|
|||||||
|
|
||||||
std::string ret;
|
std::string ret;
|
||||||
|
|
||||||
|
PPUDisAsm dis_asm(cpu_disasm_mode::normal, vm::g_sudo_addr);
|
||||||
u32 i = 0;
|
u32 i = 0;
|
||||||
|
|
||||||
for (auto it = copy.rbegin(); it != copy.rend(); it++, i++)
|
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())
|
if (ret.empty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user