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 

IRDA.PRX will not load in kernel mode.

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



Joined: 29 Aug 2007
Posts: 168

PostPosted: Thu May 29, 2008 4:43 am    Post subject: IRDA.PRX will not load in kernel mode. Reply with quote

IRDA.PRX works fine when you call it in user mode, but has problems when loading in kernel mode!

I tried this to get some idea to the problem:

Code:
    SceUID mod = pspSdkLoadStartModule("flash0:kd/irda.prx", PSP_MEMORY_PARTITION_KERNEL);
    if (mod < 0)   
   
    {
        printf(" Error 0x%08X loading/starting IRDA.PRX.\n", mod);
      sceKernelDelayThread(3*1000*1000);
        sceKernelExitGame();
    }


That way it'll return an error if there was one. Unfortunatly it did:

Error 0x80010016 loading/starting IRDA.PRX.

According to Google that means:

Quote:
0x80010016 = Invalid argument


Does anybody know why?

It works fine when I force start IRDA.PRX in Game.txt!

Unfortunatly, that causes problems for some applications. Especially ZX81's latest ones.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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