mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00:00
Log last function on debug pause or exception, dump cpu_thread state on access violation
This commit is contained in:
parent
d7a2d42d8f
commit
537d3f2548
7 changed files with 37 additions and 18 deletions
|
|
@ -1744,9 +1744,9 @@ s32 error_code::error_report(const fmt_type_info* sup, u64 arg, const fmt_type_i
|
|||
{
|
||||
auto& ppu = static_cast<ppu_thread&>(*thread);
|
||||
|
||||
if (ppu.last_function)
|
||||
if (ppu.current_function)
|
||||
{
|
||||
func = ppu.last_function;
|
||||
func = ppu.current_function;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue