From 94441d7df3b5ead9630e8c8b49fd4e1a04245184 Mon Sep 17 00:00:00 2001 From: luxsie Date: Sat, 11 Apr 2015 01:58:12 +0800 Subject: [PATCH] Restore what is directly truncated in sys_spu.cpp. @danilaml that may be someone used a wrong constant for the third condition. --- rpcs3/Emu/SysCalls/lv2/sys_spu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/SysCalls/lv2/sys_spu.cpp b/rpcs3/Emu/SysCalls/lv2/sys_spu.cpp index ee8f1ca6dd..0f83676866 100644 --- a/rpcs3/Emu/SysCalls/lv2/sys_spu.cpp +++ b/rpcs3/Emu/SysCalls/lv2/sys_spu.cpp @@ -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; }