mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Threads improved, ID manager improved
This commit is contained in:
parent
78bfd54ad4
commit
ca6783ba9a
48 changed files with 1113 additions and 990 deletions
|
|
@ -43,8 +43,14 @@ void sys_ppu_thread_exit(PPUThread& ppu, u64 val)
|
|||
// (deallocate TLS)
|
||||
// ...
|
||||
|
||||
// call the syscall
|
||||
_sys_ppu_thread_exit(ppu, val);
|
||||
if (ppu.hle_code == 0xaff080a4)
|
||||
{
|
||||
// Change sys_ppu_thread_exit code to the syscall code
|
||||
ppu.hle_code = ~41;
|
||||
}
|
||||
|
||||
// Call the syscall
|
||||
return _sys_ppu_thread_exit(ppu, val);
|
||||
}
|
||||
|
||||
std::mutex g_once_mutex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue