mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 06:38:46 +00:00
Update thread_management.cpp
fix deref
This commit is contained in:
parent
4a2cc38511
commit
42a805eb48
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ int PS4_SYSV_ABI scePthreadMutexInit(ScePthreadMutex* mutex, const ScePthreadMut
|
||||||
if (*mutex_attr == nullptr) {
|
if (*mutex_attr == nullptr) {
|
||||||
attr = g_pthread_cxt->getDefaultMutexattr();
|
attr = g_pthread_cxt->getDefaultMutexattr();
|
||||||
} else {
|
} else {
|
||||||
attr = *mutex_attr;
|
attr = mutex_attr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue