mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-10 10:09:22 +00:00
Restore what is directly truncated in sys_spu.cpp. @danilaml that may be someone used a wrong constant for the third condition.
This commit is contained in:
parent
147c50e7ca
commit
94441d7df3
1 changed files with 2 additions and 1 deletions
|
@ -508,7 +508,8 @@ s32 sys_spu_thread_group_terminate(u32 id, s32 value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((group->state <= SPU_THREAD_GROUP_STATUS_INITIALIZED) || (group->state == SPU_THREAD_GROUP_STATUS_WAITING))
|
// TODO:: Syphurith: Thank @danilaml (first) and let us talk about this mistake/typo. Have you used the wrong constant for the third condition?
|
||||||
|
if ((group->state <= SPU_THREAD_GROUP_STATUS_INITIALIZED) || (group->state == SPU_THREAD_GROUP_STATUS_WAITING) || (group->state == SPU_THREAD_GROUP_STATUS_WAITING))
|
||||||
{
|
{
|
||||||
return CELL_EINVAL;
|
return CELL_EINVAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue