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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user