From 8adf1e9edefe0a2f0c86bde94d832030beec4b67 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 25 May 2013 20:28:22 -0700 Subject: [PATCH] Properly return success in sceKernelWakeupThread(). Fixes #1596, fixes #1796, possibly others. I can't believe how long I stared at this code and debugged it without noticing such a simple thing... --- Core/HLE/sceKernelThread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/HLE/sceKernelThread.cpp b/Core/HLE/sceKernelThread.cpp index 10dad9a82d..985e758242 100644 --- a/Core/HLE/sceKernelThread.cpp +++ b/Core/HLE/sceKernelThread.cpp @@ -2349,6 +2349,7 @@ void sceKernelWakeupThread() VERBOSE_LOG(HLE,"sceKernelWakeupThread(%i) - woke thread at %i", uid, t->nt.wakeupCount); __KernelResumeThreadFromWait(uid); hleReSchedule("thread woken up"); + RETURN(0); } } else {