Sif call and Modules.

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
Polo35
Posts: 25
Joined: Sun Apr 09, 2006 7:22 am

Sif call and Modules.

Post by Polo35 »

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: Select all

	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
Polo35
Posts: 25
Joined: Sun Apr 09, 2006 7:22 am

Post by Polo35 »

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
Post Reply