mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
LV2: Fix IPC key reading from attributes
This commit is contained in:
parent
70a3c5d440
commit
81805945ce
@ -199,7 +199,7 @@ public:
|
||||
template <typename T>
|
||||
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 <typename T, typename F>
|
||||
|
Loading…
Reference in New Issue
Block a user