Make sceKernelStartModule() do something.
Doesn't work right, but gets somewhere?
This commit is contained in:
parent
f3366a03fa
commit
31eeb3d50b
3 changed files with 15 additions and 3 deletions
|
@ -837,6 +837,10 @@ void sceKernelStartModule(u32 moduleId, u32 argsize, u32 argAddr, u32 returnValu
|
|||
entryAddr = module->nm.module_start_func;
|
||||
// attr = module->nm
|
||||
}
|
||||
|
||||
SceUID threadID = __KernelCreateThread(module->nm.name, moduleId, entryAddr, priority, stacksize, attr, 0);
|
||||
sceKernelStartThread(threadID, argsize, argAddr);
|
||||
sceKernelWaitThreadEnd(threadID, 0);
|
||||
}
|
||||
|
||||
//SceUID threadId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue