Remove log as @unknownbrackets suggest

This commit is contained in:
sum2012 2020-05-30 19:19:33 +08:00
parent e8b651fbd6
commit d347d3b216
2 changed files with 2 additions and 5 deletions

View File

@ -1594,7 +1594,6 @@ static void __KernelStartModule(PSPModule *m, int args, const char *argp, SceKer
currentMIPS->pc = m->nm.module_start_func;
}
WARN_LOG(SCEKERNEL, "Root thread attr: %08x", options->attribute);
SceUID threadID = __KernelSetupRootThread(m->GetUID(), args, argp, options->priority, options->stacksize, options->attribute);
__KernelSetThreadRA(threadID, NID_MODULERETURN);
}

View File

@ -1960,11 +1960,9 @@ int __KernelCreateThread(const char *threadName, SceUID moduleID, u32 entry, u32
attr &= ~PSP_THREAD_ATTR_USER_ERASE;
if ((attr & PSP_THREAD_ATTR_KERNEL) == 0) {
if (allowKernel && (attr & PSP_THREAD_ATTR_USER) == 0) {
WARN_LOG(SCEKERNEL, "sceKernelCreateThread: Kernel allowed, so creating as a kernel thread");
if (allowKernel && (attr & PSP_THREAD_ATTR_USER) == 0) {
attr |= PSP_THREAD_ATTR_KERNEL;
} else {
WARN_LOG(SCEKERNEL, "sceKernelCreateThread: Kernel not allowed, so creating as a user thread");
} else {
attr |= PSP_THREAD_ATTR_USER;
}
}