Page 1 of 1

Sif call and Modules.

Posted: Wed May 02, 2007 10:21 pm
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

Posted: Thu May 03, 2007 7:32 am
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