I can't get the sceKernelStopModule and sceKernelUnloadModule to work. I have enabled USB but when you quit the app I want to unload the modules. Can anyone just write a simple example of unloading modules?
Thanks!
Unload Module
Code: Select all
SceModule *kmods;
kmods = sceKernelFindModuleByName("sceUtility_Driver");
sceKernelUnloadModule(kmods->modid);
kmods->modid = 0;
My PSP freezes when I use that. But maybe that is because I'm running it on a 2.0 psp??placasoft wrote:Hafe fun ... should work =/Code: Select all
SceModule *kmods; kmods = sceKernelFindModuleByName("sceUtility_Driver"); sceKernelUnloadModule(kmods->modid); kmods->modid = 0;
btw. If you unload "sceUtility_Driver", does it unload all the .prx files needed for usb automatically??