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 

Load an eboot with a prx without exit the first

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



Joined: 24 Mar 2008
Posts: 31

PostPosted: Fri Apr 25, 2008 4:39 am    Post subject: Load an eboot with a prx without exit the first Reply with quote

Hello everyone,
I want to know how I can do if I load an eboot with a prx to not quit the first eboot loaded before.
It is posible because Irshell can do this ^^

Here the code to load an eboot:

Code:
void execEboot(char *target)
{
   u8 vshmain_args[0x400];
   struct SceKernelLoadExecVSHParam param;
   memset(vshmain_args, 0, sizeof(vshmain_args));
   vshmain_args[0x40] = 1;
   vshmain_args[0x280] = 1;
   vshmain_args[0x284] = 3;
   vshmain_args[0x286] = 5;
   memset(&param, 0, sizeof(param));
   param.size = sizeof(param);
   param.args = strlen(target) + 1;
   param.argp = target;
   param.key = "game";
   param.vshmain_args_size = sizeof(vshmain_args);
   param.vshmain_args = vshmain_args;
   sctrlKernelLoadExecVSHMs2(target, &param);
}


I thanks everyone who help me^^

I apologize for my bad english because I am french^^
_________________
I'm apologize for my bad English because I am French :)

.::pspflashsystem::.
Back to top
View user's profile Send private message
pspflashsystem



Joined: 24 Mar 2008
Posts: 31

PostPosted: Fri Apr 25, 2008 5:45 am    Post subject: Reply with quote

Any idea
_________________
I'm apologize for my bad English because I am French :)

.::pspflashsystem::.
Back to top
View user's profile Send private message
Question_dev



Joined: 24 Aug 2007
Posts: 88

PostPosted: Fri Apr 25, 2008 6:06 am    Post subject: Reply with quote

you have to patch scekernelexitgame.
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Fri Apr 25, 2008 6:29 am    Post subject: Reply with quote

You must create a bootstrap which is loaded when you load the pbp from your app so the bootstrap patches the sceKernelExitGame function when running the other application.
_________________

Upgrade your PSP
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 -> PSP 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