Search found 5 matches

by jiuhu
Fri Feb 12, 2010 12:01 am
Forum: PSP Development
Topic: sceIoOpen failed to read my file...
Replies: 12
Views: 14565

Thanks guys...
I get my sound file loaded, after specifying the host0 for my path...
"host0:sound.mid"
by jiuhu
Thu Feb 11, 2010 7:07 pm
Forum: PSP Development
Topic: sceIoOpen failed to read my file...
Replies: 12
Views: 14565

What's the error return value? We can't guess it, you'll have to tell us. is a huge negative number, -2147418110. Btw, do I need to specify any working directory for all my resources files? Like specify a UMD dir for the sound files... Do I need to specify the value for "device:" ? Thank ...
by jiuhu
Thu Feb 11, 2010 1:56 am
Forum: PSP Development
Topic: sceIoOpen failed to read my file...
Replies: 12
Views: 14565

SceUID buff_id; if ((buff_id = sceIoOpen(filename, SCE_O_RDONLY,0)) < 0){ printf("Problems here..."); return -1; } it seems like the application couldn't find my sound file... Here is how my dir structure....I have a working dir named PSPSound and I have my compiled output (prx...) in PSPS...
by jiuhu
Thu Feb 11, 2010 1:36 am
Forum: PSP Development
Topic: sceIoOpen failed to read my file...
Replies: 12
Views: 14565

Thanks for the suggestion, I just tried it, but same results...
Do I need to further specify the sound file that I want to use for my PRX?

Thank you.

Regards,
JiuHu
by jiuhu
Thu Feb 11, 2010 12:13 am
Forum: PSP Development
Topic: sceIoOpen failed to read my file...
Replies: 12
Views: 14565

sceIoOpen failed to read my file...

hi, I try to call the function sceIoOpen to read my file, but it fail. I checked the return id, and it is a huge negative value. may I know when I run and test my prx, where should I place my file together? Currently, I am placing the prx and the file together under same dir. And sure, the path is d...