i tried to coding like this..
but it gave me a black screen while stop and unload the module...it seems that the sceRegistry_Service cant be stopped....strcpy(file, "ms0:/seplugins/in/registry.prx");
while ((mod = sceKernelFindModuleByName("sceRegistry_Service")))
{
sceKernelStopModule(mod->modid, 0, NULL, NULL, NULL);
sceKernelUnloadModule(mod->modid);
}
uid = sceKernelLoadModuleMS(file, 0, NULL);
uid = sceKernelStartModule(uid, strlen(file)+1, file, NULL, NULL);
need a hand.....while ((mod = sceKernelFindModuleByName("sceRegistry_Service")))
{
sceKernelStopModule(mod->modid, 0, NULL, NULL, NULL);
sceKernelUnloadModule(mod->modid);
}