Fix Regression #932 (#973)

This commit is contained in:
adjonesey 2024-09-19 05:15:42 +01:00 committed by GitHub
parent 2aab7e05ee
commit 868cffd793
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,10 @@ public:
return ORBIS_KERNEL_ERROR_EBUSY;
}
if (timeout && *timeout == 0) {
return SCE_KERNEL_ERROR_ETIMEDOUT;
}
// Create waiting thread object and add it into the list of waiters.
WaitingThread waiter{need_count, is_fifo};
const auto it = AddWaiter(&waiter);