From b18235d2e017b0220516fc68582ec908689f23ee Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 28 Apr 2013 11:24:29 -0700 Subject: [PATCH] Sneak in a quick logging fix. --- Core/HLE/sceKernelThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/HLE/sceKernelThread.cpp b/Core/HLE/sceKernelThread.cpp index 85f002f0ea..e6eecdde5f 100644 --- a/Core/HLE/sceKernelThread.cpp +++ b/Core/HLE/sceKernelThread.cpp @@ -1130,7 +1130,7 @@ u32 sceKernelReferThreadStatus(u32 threadID, u32 statusPtr) Thread *t = kernelObjects.Get(threadID, error); if (!t) { - ERROR_LOG(HLE, "sceKernelReferThreadStatus Error %08x", error); + ERROR_LOG(HLE, "%08x=sceKernelReferThreadStatus(%i, %08x): bad thread", error, threadID, statusPtr); return error; } @@ -1140,7 +1140,7 @@ u32 sceKernelReferThreadStatus(u32 threadID, u32 statusPtr) { if (wantedSize > THREADINFO_SIZE_AFTER_260) { - ERROR_LOG(HLE, "sceKernelReferThreadStatus Error %08x", SCE_KERNEL_ERROR_ILLEGAL_SIZE); + ERROR_LOG(HLE, "%08x=sceKernelReferThreadStatus(%i, %08x): bad size %d", SCE_KERNEL_ERROR_ILLEGAL_SIZE, threadID, statusPtr, wantedSize); return SCE_KERNEL_ERROR_ILLEGAL_SIZE; }