sceNpLwMutexInit + sceNpLwMutexLock + sceNpLwMutexUnlock + sceNpLwMutexTryLock + sceNpLwMutexDestroy (#98)

* sceNpLwMutexXxx

* Fix sceNpMutexLock
This commit is contained in:
Kagamma 2023-03-09 23:07:02 +07:00 committed by GitHub
parent 5c5d9d418a
commit 7ec7187db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -188,10 +188,17 @@ begin
lib^.set_proc($80C958E9E7B0AFF7,@ps4_sceNpAllocateKernelMemoryWithAlignment);
lib^.set_proc($3163CE92ACD8B2CD,@ps4_sceNpAllocateKernelMemoryNoAlignment);
lib^.set_proc($B84C1A83FD1864F7,@ps4_sceNpMutexInit);
lib^.set_proc($F542B5BCB6507EDE,@ps4_sceNpMutexLock);
lib^.set_proc($AFD05EB7EB3A7CA7,@ps4_sceNpMutexLock);
lib^.set_proc($A19C9BF64B6E0A90,@ps4_sceNpMutexUnlock);
lib^.set_proc($0EEB259A8A90FA79,@ps4_sceNpMutexTryLock);
lib^.set_proc($950D7506930CE0B5,@ps4_sceNpMutexDestroy);
// These sceNpLwMutexXxx have the same interface & functionally as sceNpMutexXxx
lib^.set_proc($D4289723F33210AB,@ps4_sceNpMutexInit); // sceNpLwMutexInit
lib^.set_proc($D7C8FEAA4E9D4709,@ps4_sceNpMutexLock); // sceNpLwMutexLock
lib^.set_proc($0901B6A32C75FE73,@ps4_sceNpMutexUnlock); // sceNpLwMutexUnlock
lib^.set_proc($869D24560BB9171C,@ps4_sceNpMutexTryLock); // sceNpLwMutexTryLock
lib^.set_proc($E33C5EBE082D62B4,@ps4_sceNpMutexDestroy); // sceNpLwMutexDestroy
//
end;
initialization