mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
sys_lwmutex fixup after #5680
sys_lwcond_wait unlocks always with the 'usual' unlocking flags
This commit is contained in:
parent
61bd2ea799
commit
f272a5f779
2 changed files with 2 additions and 5 deletions
|
@ -282,7 +282,7 @@ error_code _sys_lwcond_queue_wait(ppu_thread& ppu, u32 lwcond_id, u32 lwmutex_id
|
|||
return cpu;
|
||||
}
|
||||
|
||||
mutex->signaled.release(1);
|
||||
mutex->signaled |= 1;
|
||||
return nullptr;
|
||||
});
|
||||
|
||||
|
|
|
@ -15,10 +15,7 @@ extern u64 get_system_time();
|
|||
|
||||
error_code _sys_lwmutex_create(vm::ptr<u32> lwmutex_id, u32 protocol, vm::ptr<sys_lwmutex_t> control, s32 has_name, u64 name)
|
||||
{
|
||||
sys_lwmutex.warning("_sys_lwmutex_create(lwmutex_id=*0x%x, protocol=0x%x, control=*0x%x, arg4=0x%x, name=0x%llx, arg6=0x%x)", lwmutex_id, protocol, control, has_name, name);
|
||||
|
||||
if (protocol == SYS_SYNC_RETRY)
|
||||
sys_lwmutex.todo("_sys_lwmutex_create(): SYS_SYNC_RETRY");
|
||||
sys_lwmutex.warning("_sys_lwmutex_create(lwmutex_id=*0x%x, protocol=0x%x, control=*0x%x, has_name=0x%x, name=0x%llx)", lwmutex_id, protocol, control, has_name, name);
|
||||
|
||||
if (protocol != SYS_SYNC_FIFO && protocol != SYS_SYNC_RETRY && protocol != SYS_SYNC_PRIORITY)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue