mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 16:02:26 +00:00
Fix Regression #932
This commit is contained in:
parent
4a0bd876ff
commit
6d7e0c71a0
@ -32,6 +32,10 @@ public:
|
|||||||
return ORBIS_KERNEL_ERROR_EBUSY;
|
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.
|
// Create waiting thread object and add it into the list of waiters.
|
||||||
WaitingThread waiter{need_count, is_fifo};
|
WaitingThread waiter{need_count, is_fifo};
|
||||||
const auto it = AddWaiter(&waiter);
|
const auto it = AddWaiter(&waiter);
|
||||||
|
Loading…
Reference in New Issue
Block a user