mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 03:02:53 +01:00
Merge pull request #827 from Bigpet/master
change initial value of sys_lwmutex_t::waiter
This commit is contained in:
commit
e4eecd247c
@ -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…
Reference in New Issue
Block a user