forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sif call and Modules.

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Polo35



Joined: 09 Apr 2006
Posts: 25

PostPosted: Wed May 02, 2007 10:21 pm    Post subject: Sif call and Modules. Reply with quote

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
View user's profile Send private message
Polo35



Joined: 09 Apr 2006
Posts: 25

PostPosted: Thu May 03, 2007 7:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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