PSP2: Fix ConditionWaitTimed
Jeffrey Pfau jeffrey@endrift.com
Sun, 05 Jul 2015 18:19:26 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/platform/psp2/threading.h
→
src/platform/psp2/threading.h
@@ -77,9 +77,9 @@ SceUInt timeout = 0;
if (timeoutMs > 0) { timeout = timeoutMs; } - sceKernelWaitSema(cond->semaphore, 1, &timeout); + int ret = sceKernelWaitSema(cond->semaphore, 1, &timeout); MutexLock(mutex); - return 0; + return ret; } static inline int ConditionWake(Condition* cond) {