mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
LV2: Fix IPC key reading from attributes
This commit is contained in:
parent
70a3c5d440
commit
81805945ce
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ public:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
static inline u64 get_key(const T& attr)
|
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>
|
template <typename T, typename F>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue