mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-24 17:40:33 +01:00
sys_rwlock: Do not allow SYS_SYNC_PRIORITY_INHERIT
This commit is contained in:
parent
954e3f6e6c
commit
791ec95313
|
|
@ -26,10 +26,7 @@ error_code sys_rwlock_create(ppu_thread& ppu, vm::ptr<u32> rw_lock_id, vm::ptr<s
|
|||
|
||||
const u32 protocol = _attr.protocol;
|
||||
|
||||
if (protocol == SYS_SYNC_PRIORITY_INHERIT)
|
||||
sys_rwlock.todo("sys_rwlock_create(): SYS_SYNC_PRIORITY_INHERIT");
|
||||
|
||||
if (protocol != SYS_SYNC_FIFO && protocol != SYS_SYNC_PRIORITY && protocol != SYS_SYNC_PRIORITY_INHERIT)
|
||||
if (protocol != SYS_SYNC_FIFO && protocol != SYS_SYNC_PRIORITY)
|
||||
{
|
||||
sys_rwlock.error("sys_rwlock_create(): unknown protocol (0x%x)", protocol);
|
||||
return CELL_EINVAL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue