| View previous topic :: View next topic |
| Author |
Message |
Stewie87
Joined: 03 Apr 2008 Posts: 39
|
Posted: Mon Jun 30, 2008 2:18 pm Post subject: No Intro SCEE when return from a Eboot... |
|
|
I made a simple VSH plugin that launchs a eboot.pbp.
But now I have to solve a big issue: every time I exit from that homebrew, PSP does not return to dashboard "normally" (like when you exit from an eboot or from an UMD) but on the contrary PSP seems to be "resetted", because it shows the intro with the logo SCEE...
I use this code to start my homebrew:
| Code: | struct SceKernelLoadExecVSHParam param;
int apitype = 0;
char *program = NULL;
char *mode = NULL;
apitype = 0x141;
program = "ms0:/PSP/GAME/BOOT/EBOOT.PBP";
mode = "game";
memset(¶m, 0, sizeof(param));
param.size = sizeof(param);
param.args = strlen(program)+1;
param.argp = program;
param.key = mode;
param.vshmain_args_size = 0;
param.vshmain_args = NULL;
sctrlKernelLoadExecVSHWithApitype(apitype, program, ¶m); |
What i have to add to avoid that PSP shows SCEE logo every time I exit from that homebrew?
Please help me :( |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Mon Jun 30, 2008 7:34 pm Post subject: |
|
|
This is "how to don't show the sony logo":
http://forums.ps2dev.org/viewtopic.php?p=42242&highlight=logo#42242
But it's still a reboot and not a exit.
why are you using this function:
sctrlKernelLoadExecVSHWithApitype(apitype, program, ¶m);
that may be the problem.
I only use this:
| Code: |
memset(¶m, 0, sizeof(param));
param.size = sizeof(param);
param.args = strlen(program)+1;
param.argp = program;
param.key = mode;
param.vshmain_args_size = 0;
param.vshmain_args = NULL; |
when I use the sceKernelLoadExecVSHMs2 or sctrl*
try this instead: | Code: |
memset(¶m, 0, sizeof(param));
param.size = sizeof(param);
param.args = strlen(program)+1;
param.argp = program;
param.key = mode; |
_________________
Upgrade your PSP |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Tue Jul 01, 2008 2:52 am Post subject: |
|
|
You have to remove the lines
param.vshmain_args_size = 0;
param.vshmain_args = NULL;
Those are the arguments that the LAUNCHED EBOOT will pass to the VSH when you quit the LAUNCHED EBOOT.
0 and NULL are the same parameters the VSH receives on a system restart, hence it shows the SCE logo. |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Tue Jul 01, 2008 3:00 am Post subject: |
|
|
yeh that's why I told you to remove them lol _________________
Upgrade your PSP |
|
| Back to top |
|
 |
|