Error loading prx?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Error loading prx?

Post by Art »

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?
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.
m0skit0
Posts: 191
Joined: Tue Jun 02, 2009 8:58 pm

Post by m0skit0 »

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.
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

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.
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

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.
Post Reply