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 

No Intro SCEE when return from a Eboot...

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



Joined: 03 Apr 2008
Posts: 39

PostPosted: Mon Jun 30, 2008 2:18 pm    Post subject: No Intro SCEE when return from a Eboot... Reply with quote

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(&param, 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, &param);


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
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Mon Jun 30, 2008 7:34 pm    Post subject: Reply with quote

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, &param);
that may be the problem.
I only use this:
Code:

   memset(&param, 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(&param, 0, sizeof(param));
   param.size = sizeof(param);
   param.args = strlen(program)+1;
   param.argp = program;
   param.key = mode;

_________________

Upgrade your PSP
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Tue Jul 01, 2008 2:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Tue Jul 01, 2008 3:00 am    Post subject: Reply with quote

yeh that's why I told you to remove them lol
_________________

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