mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Sneak in a quick logging fix.
This commit is contained in:
parent
880af79caa
commit
b18235d2e0
1 changed files with 2 additions and 2 deletions
|
@ -1130,7 +1130,7 @@ u32 sceKernelReferThreadStatus(u32 threadID, u32 statusPtr)
|
|||
Thread *t = kernelObjects.Get<Thread>(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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue