mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-05 04:05:27 +02:00
Implement various hle stuff..
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user