mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
sys_rwlock: Do not allow SYS_SYNC_PRIORITY_INHERIT
This commit is contained in:
parent
954e3f6e6c
commit
791ec95313
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue