mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
Remove log as @unknownbrackets suggest
This commit is contained in:
parent
e8b651fbd6
commit
d347d3b216
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user