mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-07 10:14:59 -06:00
Kernel.Pthreads: Remove unreachable in posix_pthread_mutex_timedlock (#4005)
* Fix assert Just a typical day of me pushing something a month ago, nobody testing/reviewing it, then finding out it's broken when that code inevitably makes it into production. * Remove unreachable in posix_pthread_mutex_timedlock It's apparently something that was added during pthreads rewrite, but the actual code for this function seems to be fully implemented?
This commit is contained in:
parent
341de9aa17
commit
be86b5fe32
@ -261,7 +261,6 @@ int PS4_SYSV_ABI posix_pthread_mutex_lock(PthreadMutexT* mutex) {
|
|||||||
int PS4_SYSV_ABI posix_pthread_mutex_timedlock(PthreadMutexT* mutex,
|
int PS4_SYSV_ABI posix_pthread_mutex_timedlock(PthreadMutexT* mutex,
|
||||||
const OrbisKernelTimespec* abstime) {
|
const OrbisKernelTimespec* abstime) {
|
||||||
CHECK_AND_INIT_MUTEX
|
CHECK_AND_INIT_MUTEX
|
||||||
UNREACHABLE();
|
|
||||||
return (*mutex)->Lock(abstime);
|
return (*mutex)->Lock(abstime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user