diff --git a/rpcs3/Emu/Cell/lv2/sys_sync.h b/rpcs3/Emu/Cell/lv2/sys_sync.h index d0c84834d0..a96fd236ce 100644 --- a/rpcs3/Emu/Cell/lv2/sys_sync.h +++ b/rpcs3/Emu/Cell/lv2/sys_sync.h @@ -199,7 +199,7 @@ public: template static inline u64 get_key(const T& attr) { - return (attr.pshared != SYS_SYNC_PROCESS_SHARED ? +attr.ipc_key : 0); + return (attr.pshared == SYS_SYNC_PROCESS_SHARED ? +attr.ipc_key : 0); } template