Code: Select all
printf("Executing module size=%d\n",size);
		if (size>0)
		{
			module.Close();
			char temp2[1025];
			sprintf(temp2,"host:%s.irx",filename);
			File o(temp2,O_CREAT|O_WRONLY);
			o.Write((u8*)buffer,size);
			o.Close();
			SifExecModuleBuffer((char*)buffer, size, ag_len, args, mod_res);
			delete [] buffer;
			return 1;
}Code: Select all
printf("Executing module size=%d\n",size);
		if (size>0)
		{
			module.Close();
			SifExecModuleBuffer((char*)buffer, size, ag_len, args, mod_res);
			delete [] buffer;
			return 1;
}Anyone else have any ideas?
Also, after the modules necessary for HD access are loaded, if I hit RESET on InLink to restart ps2link, the system freezes instead of restarting. It only happens when the modules have been loaded and as far as I can tell, I use the same steps that I used in MCMGR, which reset fine. This is pretty important 'cause it'd be VERY hard to code if I have to do a complete ps2 reboot everytime I make a change. Anyone else had a similar problem and solved it?