IRDA.PRX will not load in kernel mode.

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

Moderators: cheriff, TyRaNiD

Post Reply
angelo
Posts: 168
Joined: Wed Aug 29, 2007 9:34 pm

IRDA.PRX will not load in kernel mode.

Post by angelo »

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: Select all

    SceUID mod = pspSdkLoadStartModule("flash0:kd/irda.prx", PSP_MEMORY_PARTITION_KERNEL);
    if &#40;mod < 0&#41;	
	
    &#123;
        printf&#40;" Error 0x%08X loading/starting IRDA.PRX.\n", mod&#41;;
		sceKernelDelayThread&#40;3*1000*1000&#41;;
        sceKernelExitGame&#40;&#41;;
    &#125;
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:
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.
Post Reply