diff --git a/src/core/libraries/kernel/threads/pthread.cpp b/src/core/libraries/kernel/threads/pthread.cpp index b76846066..e791e74bf 100644 --- a/src/core/libraries/kernel/threads/pthread.cpp +++ b/src/core/libraries/kernel/threads/pthread.cpp @@ -523,6 +523,7 @@ int PS4_SYSV_ABI posix_pthread_setcancelstate(PthreadCancelState state, if (oldstate) { *oldstate = oldval ? PthreadCancelState::Enable : PthreadCancelState::Disable; } + return 0; } int Pthread::SetAffinity(const Cpuset* cpuset) {