mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-05 00:00:42 +01: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 a new issue