 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Polo35
Joined: 09 Apr 2006 Posts: 25
|
Posted: Wed May 02, 2007 10:21 pm Post subject: Sif call and Modules. |
|
|
Hey,
I've got some problem using SifSearchModuleByName, SifStopModule, SifUnloadModule.
SifSearchModuleByName return a "strange" id: 1165660174 for MCMAN from rom, but when module is loaded it's id is 36.
SifStopModule and SifUnloadModule appear to not working at all.
I tried to use "strange" id or normal id without succes.
Memorycard is still working after unloading.
I tried with padman too with same result.
Here a little part of my code:
| Code: | McMan_Id = SifSearchModuleByName("mcman");
SifStopModule(McMan_Id, 0, NULL, &ret);
ret = SifUnloadModule(McMan_Id);
printf("Unloading MCMAN: %d.\n", ret);
|
I saw Pixel add this code to ps2sdk.
Can you help me a bit Pixel ? Or anybody ?
Best regards
polo |
|
| Back to top |
|
 |
Polo35
Joined: 09 Apr 2006 Posts: 25
|
Posted: Thu May 03, 2007 7:32 am Post subject: |
|
|
So, to answer my question. :)
Apparently, rom0 modules are resident modules.
That mean they can't be remove with sif call. :(
Thanks to romz for informations.
But, if someone have more informations, on how to override rom0 modules, please tell me. ;)
Best regards
Polo |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|