mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Small changes
lwmutex completely implemented
This commit is contained in:
parent
ed40732e7b
commit
3308fefa7f
14 changed files with 259 additions and 128 deletions
|
@ -194,13 +194,12 @@ int sys_spu_thread_get_exit_status(u32 id, mem32_t status)
|
|||
return CELL_ESRCH;
|
||||
}
|
||||
|
||||
if (!(*(SPUThread*)thr).SPU.Out_MBox.GetCount() || !thr->IsStopped())
|
||||
u32 res;
|
||||
if (!(*(SPUThread*)thr).SPU.Out_MBox.Pop(res) || !thr->IsStopped())
|
||||
{
|
||||
return CELL_ESTAT;
|
||||
}
|
||||
|
||||
u32 res;
|
||||
(*(SPUThread*)thr).SPU.Out_MBox.PopUncond(res);
|
||||
status = res;
|
||||
return CELL_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue