Implement various hle stuff..

This commit is contained in:
Henrik Rydgard
2012-11-07 19:10:52 +01:00
parent 897bed8072
commit 117256e07b
12 changed files with 154 additions and 28 deletions
+11 -3
View File
@@ -623,14 +623,22 @@ void sceKernelStopModule()
{
ERROR_LOG(HLE,"UNIMPL sceKernelStopModule");
RETURN(0);
}
void sceKernelUnloadModule()
{
ERROR_LOG(HLE,"UNIMPL sceKernelUnloadModule");
RETURN(0);
u32 moduleId = PARAM(0);
ERROR_LOG(HLE,"UNIMPL sceKernelUnloadModule(%i)", moduleId);
u32 error;
Module *module = kernelObjects.Get<Module>(moduleId, error);
if (!module)
{
RETURN(error);
return;
}
kernelObjects.Destroy<Module>(moduleId);
RETURN(0);
}
void sceKernelGetModuleIdByAddress()