Don't forget to mark a module as started w/o entry.

This commit is contained in:
Unknown W. Brackets 2013-06-01 09:39:15 -07:00
parent cc647ed910
commit bae5f9654f

View File

@ -1115,6 +1115,7 @@ void sceKernelStartModule(u32 moduleId, u32 argsize, u32 argAddr, u32 returnValu
{
// TODO: Why are we just returning the module ID in this case?
WARN_LOG(HLE, "sceKernelStartModule(): module has no start or entry func");
module->isStarted = true;
RETURN(moduleId);
return;
}
@ -1146,6 +1147,7 @@ void sceKernelStartModule(u32 moduleId, u32 argsize, u32 argAddr, u32 returnValu
{
INFO_LOG(HLE, "sceKernelStartModule(%d,asize=%08x,aptr=%08x,retptr=%08x,%08x): no entry address",
moduleId,argsize,argAddr,returnValueAddr,optionAddr);
module->isStarted = true;
}
else
{