| View previous topic :: View next topic |
| Author |
Message |
FaderX
Joined: 01 Mar 2008 Posts: 28
|
Posted: Mon Jun 09, 2008 10:03 am Post subject: Load prx in service mode |
|
|
Hello,
i've created a little app that required kernel mode, so i made a prx.
But then i tried using service mode and thats what i want to create it for. but i try,
| Code: |
SceUID mod = pspSdkLoadStartModule("kernel.prx", PSP_MEMORY_PARTITION_KERNEL);
if (mod < 0) { printf(" ! Error 0x%08X loading/starting prx.\n", mod); } |
Im running in vsh mode and i get the error 0x8002032C (No Cwd ??) <- probably coz im using a 3.XX kernel prx on a 1.50 based thing
But yea, i dont wont to put it into a single app because when i did, i changed it to kernel mode and added the kernel functions then i wouldnt even load :S.
Is it possible to load a 3.XX prx (elf, unencrypt) to get the prx to load.?
If you have an idea please let me know,
Cheers |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Mon Jun 09, 2008 6:03 pm Post subject: |
|
|
try giving the full path instead of giving kernel.prx only _________________
Upgrade your PSP |
|
| Back to top |
|
 |
FaderX
Joined: 01 Mar 2008 Posts: 28
|
Posted: Tue Jun 10, 2008 9:05 pm Post subject: |
|
|
thanks it worked, id never would have guessed that i had to use the full path :s *gets embarrassed*
in 3.xx it must ave changed to either what i was using and the full path?. lol
thanks again. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Jun 11, 2008 12:50 am Post subject: |
|
|
| That's one thing I wish would get cleared up on a future rev of the firmware - that inconsistency on when the working directory has been set and when it hasn't. It should ALWAYS be set. |
|
| Back to top |
|
 |
|