mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Fix _sys_interrupt_thread_disestablish with lingering thread copies
This commit is contained in:
parent
4af0a33f1f
commit
9bd4426225
1 changed files with 3 additions and 0 deletions
|
@ -214,6 +214,9 @@ error_code _sys_interrupt_thread_disestablish(ppu_thread& ppu, u32 ih, vm::ptr<u
|
|||
if (const auto thread = idm::withdraw<named_thread<ppu_thread>>(ih))
|
||||
{
|
||||
*r13 = thread->gpr[13];
|
||||
|
||||
// It is detached from IDM now so join must be done explicitly now
|
||||
*thread = thread_state::finished;
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue