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 

Error loading prx?

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



Joined: 09 Nov 2005
Posts: 647

PostPosted: Sun Sep 20, 2009 9:23 am    Post subject: Error loading prx? Reply with quote

Hi Guys,
I'm trying to use the sio prx from MapThis! to use the serial port in 3.xx.
When I modified the code, it crashed and gave me an error.
Error - 8002013C .. Google search suggests it means "Library not found".

My question is, how does this know where to load the prx from?
I tried "./sioprx.prx" but got the same result, but the question still stands..
Does it look in the current working directory?

Quote:

void loadSioPrx() {
SceUID mod = pspSdkLoadStartModule("sioprx.prx", PSP_MEMORY_PARTITION_KERNEL);
if (mod < 0) {
pspDebugScreenPrintf(" Error 0x%08X loading/starting pspsio.prx.\n", mod);
sceKernelDelayThread(2000000);
sceKernelExitGame();
}
}


Cheers, Art.
_________________
If not actually, then potentially.
Back to top
View user's profile Send private message
m0skit0



Joined: 02 Jun 2009
Posts: 226

PostPosted: Sun Sep 20, 2009 10:05 am    Post subject: Reply with quote

Try using the whole path... And why you don't just use sceKernelLoadModule()?
_________________
The Incredible Bill Gates wrote:
The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Sun Sep 20, 2009 10:33 am    Post subject: Reply with quote

I'm just using code found in MapThis! which works when I compile that program.
Why any different in mine?
_________________
If not actually, then potentially.
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Sun Sep 20, 2009 12:30 pm    Post subject: Reply with quote

It worked afterall.. turns out I left 1.50 kernel LED control stuff in there
that prevented it from loading.
_________________
If not actually, then potentially.
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