libc: match PS5 mutex unlock result semantics

Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com>
This commit is contained in:
nmzik
2026-08-17 15:40:13 +02:00
parent 89fdb1214a
commit 54aa8efc98
+2 -1
View File
@@ -540,7 +540,8 @@ static KYTY_SYSV_ABI int MtxTimedlock(LibKernel::PthreadMutex* mtx, const void*
static KYTY_SYSV_ABI int MtxUnlock(LibKernel::PthreadMutex* mtx) {
PRINT_NAME();
return mtx_result(LibKernel::PthreadMutexUnlock(mtx));
(void)LibKernel::PthreadMutexUnlock(mtx);
return static_cast<int>(ThrdResult::Success);
}
static KYTY_SYSV_ABI int MtxCurrentOwns(LibKernel::PthreadMutex* /*mtx*/) {