mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
Save all 8 syscall_args
This commit is contained in:
parent
8716ac554f
commit
f801dc6558
2 changed files with 4 additions and 4 deletions
|
@ -608,7 +608,7 @@ std::string ppu_thread::dump_regs() const
|
|||
auto reg = gpr[i];
|
||||
|
||||
// Fixup for syscall arguments
|
||||
if (current_function && i >= 3 && i <= 6) reg = syscall_args[i - 3];
|
||||
if (current_function && i >= 3 && i <= 10) reg = syscall_args[i - 3];
|
||||
|
||||
fmt::append(ret, "r%d%s: 0x%-8llx", i, i <= 9 ? " " : "", reg);
|
||||
|
||||
|
@ -836,7 +836,7 @@ std::string ppu_thread::dump_misc() const
|
|||
ret += _func;
|
||||
ret += '\n';
|
||||
|
||||
for (u32 i = 3; i <= 6; i++)
|
||||
for (u32 i = 3; i <= 10; i++)
|
||||
if (u64 v = gpr[i]; v != syscall_args[i - 3])
|
||||
fmt::append(ret, " ** r%d: 0x%llx\n", i, v);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue