mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Last syscall registering
This commit is contained in:
parent
e9835d4a2c
commit
18e1799980
4 changed files with 8 additions and 2 deletions
|
@ -28,6 +28,7 @@ CPUThread::CPUThread(CPUThreadType type)
|
|||
, m_is_step(false)
|
||||
, m_is_branch(false)
|
||||
, m_status(Stopped)
|
||||
, m_last_syscall(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -284,7 +285,8 @@ void _se_translator(unsigned int u, EXCEPTION_POINTERS* pExp)
|
|||
// TODO: allow recovering from a page fault
|
||||
//GetCurrentPPUThread().Stop();
|
||||
Emu.Pause();
|
||||
throw fmt::Format("Access violation: addr = 0x%x", (u32)addr);
|
||||
throw fmt::Format("Access violation: addr = 0x%x (last_syscall=0x%llx)",
|
||||
(u32)addr, (u64)GetCurrentCPUThread()->m_last_syscall);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue