| View previous topic :: View next topic |
| Author |
Message |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Sun Sep 20, 2009 9:23 am Post subject: Error loading prx? |
|
|
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 |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Sun Sep 20, 2009 10:05 am Post subject: |
|
|
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 |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Sun Sep 20, 2009 10:33 am Post subject: |
|
|
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 |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Sun Sep 20, 2009 12:30 pm Post subject: |
|
|
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 |
|
 |
|