mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-15 22:21:25 +00:00
rsx: Add some debugging information
This commit is contained in:
parent
557d015662
commit
274386a078
@ -64,7 +64,7 @@ u32 RSXDisAsm::disasm(u32 pc)
|
||||
}
|
||||
else
|
||||
{
|
||||
Write("?? ??", -1);
|
||||
Write(fmt::format("?? ?? (0x%x)", m_op), -1);
|
||||
}
|
||||
|
||||
return 4;
|
||||
@ -103,7 +103,7 @@ u32 RSXDisAsm::disasm(u32 pc)
|
||||
{
|
||||
// Hack: 0 method with large count is unlikely to be a command
|
||||
// But is very common in floating point args, messing up debugger's code-flow
|
||||
Write("?? ??", -1);
|
||||
Write(fmt::format("?? ?? (0x%x)", m_op), -1);
|
||||
return 4;
|
||||
}
|
||||
|
||||
@ -114,7 +114,7 @@ u32 RSXDisAsm::disasm(u32 pc)
|
||||
if (!try_read_op(pc))
|
||||
{
|
||||
last_opcode.clear();
|
||||
Write("?? ??", -1);
|
||||
Write(fmt::format("?? ?? (0x%08x:unmapped)", m_op), -1);
|
||||
return 4;
|
||||
}
|
||||
|
||||
@ -123,7 +123,7 @@ u32 RSXDisAsm::disasm(u32 pc)
|
||||
if (rsx::methods[id] == &rsx::invalid_method)
|
||||
{
|
||||
last_opcode.clear();
|
||||
Write("?? ??", -1);
|
||||
Write(fmt::format("?? ?? (0x%08x:method)", m_op), -1);
|
||||
return 4;
|
||||
}
|
||||
|
||||
|
@ -691,7 +691,7 @@ namespace rsx
|
||||
}
|
||||
|
||||
// If we reached here, this is likely an error
|
||||
fmt::throw_exception("Unexpected command 0x%x", cmd);
|
||||
fmt::throw_exception("Unexpected command 0x%x (last cmd: 0x%x)", cmd, fifo_ctrl->last_cmd());
|
||||
}
|
||||
|
||||
if (const auto state = performance_counters.state;
|
||||
|
Loading…
x
Reference in New Issue
Block a user