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 

SceKernelLoadExecVSHParam problem

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



Joined: 21 Oct 2007
Posts: 16

PostPosted: Mon Nov 12, 2007 7:05 am    Post subject: SceKernelLoadExecVSHParam problem Reply with quote

Hi, I have made an app, which loads ok, but if I insert the code below I get the game cannot be started 800200D9 error.

I'm running 3.52M33-4.

Code:

void loadEBOOT(char *target)
{   
   struct SceKernelLoadExecVSHParam param;
         
   memset(&param, 0, sizeof(param));
         
   param.key = "game";
   param.size = sizeof(param);
   param.args = strlen(target)+1;
   param.argp = target;

   sceKernelLoadExecVSHMs2(target, &param);   

}


It only happens when this code is placed in my project though.

I'm also including the header file psploadexec_kernel.h
Any idea's please.

Other then this piece of code there is nothing wrong with my app.
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Tue Nov 13, 2007 5:33 am    Post subject: Reply with quote

create an external Kernel mode module for such loading
_________________
10011011 00101010 11010111 10001001 10111010
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