More fixes

This commit is contained in:
Henrik Rydgård committed 2025-01-20 12:20:21 +01:00
1 parent 2b5b2a8fa5
commit 26547e2629
4 files changed
+15 -11

No files matched your search

+2 -3
View File
@@ -2202,8 +2202,7 @@ int sceKernelExitDeleteThread(int exitStatus) {
if (!__KernelIsDispatchEnabled() && sceKernelGetCompiledSdkVersion() >= 0x03080000)
return hleLogError(Log::sceKernel, SCE_KERNEL_ERROR_CAN_NOT_WAIT);
PSPThread *thread = __GetCurrentThread();
if (thread)
{
if (thread) {
INFO_LOG(Log::sceKernel,"sceKernelExitDeleteThread(%d)", exitStatus);
uint32_t thread_attr = thread->nt.attr;
uint32_t uid = thread->GetUID();
@@ -2218,7 +2217,7 @@ int sceKernelExitDeleteThread(int exitStatus) {
}
else
ERROR_LOG_REPORT(Log::sceKernel, "sceKernelExitDeleteThread(%d) ERROR - could not find myself!", exitStatus);
return 0;
return hleNoLog(0);
}
u32 sceKernelSuspendDispatchThread()