mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
change initial value of sys_lwmutex_t::waiter
This commit is contained in:
parent
5b18e90cac
commit
f11c6c3cf4
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ s32 sys_lwmutex_create(vm::ptr<sys_lwmutex_t> lwmutex, vm::ptr<sys_lwmutex_attri
|
|||
}
|
||||
|
||||
lwmutex->attribute = attr->attr_protocol | attr->attr_recursive;
|
||||
lwmutex->waiter = 0;
|
||||
//waiter is currently unused by the emulator but some games apparently directly read this value
|
||||
lwmutex->waiter = ~0;
|
||||
lwmutex->mutex.initialize();
|
||||
//lwmutex->waiter = lwmutex->owner.GetOwner();
|
||||
lwmutex->pad = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue