mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
Add cellVdec hack (stolen TLS)
This commit is contained in:
parent
144f6809bf
commit
ab4e66a0bf
3 changed files with 39 additions and 3 deletions
|
@ -130,6 +130,12 @@ error_code _sys_interrupt_thread_disestablish(ppu_thread& ppu, u32 ih, vm::ptr<u
|
|||
|
||||
if (!handler)
|
||||
{
|
||||
if (const auto thread = idm::withdraw<ppu_thread>(ih))
|
||||
{
|
||||
*r13 = thread->gpr[13];
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
return CELL_ESRCH;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue