| View previous topic :: View next topic |
| Author |
Message |
Question_dev
Joined: 24 Aug 2007 Posts: 88
|
Posted: Sun Mar 23, 2008 2:45 am Post subject: Excute EBOOT in kernel mode - > sceNetInit error ? |
|
|
Hi,
I made a function to excute an eboot :
| Code: | void loadeboot(const char *pbpath)
{
const u32 pbplen = strlen(pbpath)+1;
struct SceKernelLoadExecParam eloader;
eloader.args = pbplen;
eloader.argp = pbpath;
eloader.key = NULL;
eloader.size = sizeof(eloader) + pbplen;
sceKernelLoadExec(pbpath,&eloader);
} |
and call the function :
| Code: | loadeboot("ms0:/PSP/GAME380/WEB/EBOOT.pbp");
The eboot loads the psp orginal webbrowser (like in IRSHELL)
It compiles fine, but when i load the eboot in my app it just shows a black screen for some seconds and psp power off
I'm running in kernel mode, and it's kxploited
When i'm trying to work in user mode, my app(Not the webbrowser) doesn't load in the xmb.
|
|
|
| Back to top |
|
 |
Smong
Joined: 04 Sep 2007 Posts: 82
|
Posted: Mon Mar 24, 2008 3:59 am Post subject: Re: Excute EBOOT in kernel mode - > sceNetInit error ? |
|
|
| Question_dev wrote: | | Code: | | eloader.size = sizeof(eloader) + pbplen; |
| This line looks wrong, search for the documentation on SceKernelLoadExecParam. _________________ (+[__]%) |
|
| Back to top |
|
 |
phobox
Joined: 24 Mar 2008 Posts: 140
|
|
| Back to top |
|
 |
|