Cleanup sceKernelModule

This commit is contained in:
TMaul 2012-12-13 11:39:49 +00:00
parent f40177ada8
commit b121749b39

View file

@ -756,14 +756,14 @@ void sceKernelFindModuleByName()
} }
u32 sceKernelLoadModuleByID(u32 id, u32 flags, u32 lmoptionPtr) { u32 sceKernelLoadModuleByID(u32 id, u32 flags, u32 lmoptionPtr) {
ERROR_LOG(HLE,"UNIMPL (%008x=sceKernelLoadModuleById(%08x, %08x)",id,id,lmoptionPtr); ERROR_LOG(HLE,"UNIMPL %008x=sceKernelLoadModuleById(%08x, %08x)",id,id,lmoptionPtr);
// Apparenty, ID is a sceIo File UID. So this shouldn't be too hard when needed. // Apparenty, ID is a sceIo File UID. So this shouldn't be too hard when needed.
return id; return id;
} }
int ModuleMgrForUser_0xfef27dc1() u32 sceKernelLoadModuleDNAS(const char *name, u32 flags)
{ {
ERROR_LOG(HLE,"UNIMPL 0=ModuleMgrForUser_0xfef27dc1()"); ERROR_LOG(HLE,"UNIMPL 0=sceKernelLoadModuleDNAS()");
return 0; return 0;
} }
@ -782,7 +782,7 @@ const HLEFunction ModuleMgrForUser[] =
{0xd8b73127,&WrapU_U<sceKernelGetModuleIdByAddress>, "sceKernelGetModuleIdByAddress"}, {0xd8b73127,&WrapU_U<sceKernelGetModuleIdByAddress>, "sceKernelGetModuleIdByAddress"},
{0xf0a26395,&sceKernelGetModuleId, "sceKernelGetModuleId"}, {0xf0a26395,&sceKernelGetModuleId, "sceKernelGetModuleId"},
{0x8f2df740,0,"sceKernelStopUnloadSelfModuleWithStatus"}, {0x8f2df740,0,"sceKernelStopUnloadSelfModuleWithStatus"},
{0xfef27dc1,WrapI_V<ModuleMgrForUser_0xfef27dc1> , "ModuleMgrForUser_0xfef27dc1"}, {0xfef27dc1,&WrapU_CU<sceKernelLoadModuleDNAS> , "sceKernelLoadModuleDNAS"},
}; };