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 

Execute UMD

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



Joined: 19 Jan 2007
Posts: 25

PostPosted: Sun Apr 22, 2007 12:42 am    Post subject: Execute UMD Reply with quote

How can I get the PSP to launch a UMD Game from homebrew? I have tried all the samples. I think I am doing everything right. But the PSP just crashes.
Code:
int i;
i = sceUmdCheckMedium(0);
if(i == 0)
{
   sceUmdWaitDriveStat(UMD_WAITFORDISC);
}
sceUmdActivate(1, "disc0:");
sceUmdWaitDriveStat(UMD_WAITFORINIT);
sceKernelLoadExecVSHDisc(PATH, NULL);

Should that work? Or am I missing something? Thanks.
Back to top
View user's profile Send private message
SWE_PsYcHo



Joined: 27 Jan 2007
Posts: 12

PostPosted: Sun Jul 01, 2007 10:31 pm    Post subject: Reply with quote

i need help on this aswell...
_________________
IAM A NEWBIE! ^^
Back to top
View user's profile Send private message
F@T3oYCG



Joined: 06 Jul 2007
Posts: 7
Location: EUROPE, ENGLAND, WIDNESS

PostPosted: Wed Jul 11, 2007 1:38 am    Post subject: Reply with quote

Code:

int i;
i = sceUmdCheckMedium(0);
if(i == 0)
{
   sceUmdWaitDriveStat(UMD_WAITFORDISC);
}
sceUmdActivate(1, "[b]disc0:/[/b]");
sceUmdWaitDriveStat(UMD_WAITFORINIT);
sceKernelLoadExecVSHDisc(PATH, NULL);

_________________
-----F@T3oYCG-----
E-MAIL: fatboycg@hotmail.co.uk
PSP FAT VERSION HISTORY:
2.00 --> 2.50 --> 1.50 --> 2.00 --> 1.50 --> 3.40 OE-A --> 3.52 M33-4
PSP SLIM VERSION HISTORY:
3.60 -- 3.60 M33 --> 3.71 M33 --> 3.72 M33-2 --> 3.71 M33-4
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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