How to load an .elf?

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

Moderators: cheriff, TyRaNiD

Post Reply
nikocronaldo
Posts: 31
Joined: Sun Feb 24, 2008 7:19 am

How to load an .elf?

Post by nikocronaldo »

I have seen only a program to load elf, I believe that it was Despertar del Idstorage, for that reason ask what function loads elf. I have proven different ways, but no worked.
jas0nuk
Posts: 137
Joined: Thu Apr 27, 2006 8:00 am

Post by jas0nuk »

Despertar del IdStorage? O_O

The function you are looking for is sceKernelLoadExec

sceKernelLoadExec("ms0:/file.elf", NULL); will do the trick for most ELFs.
Post Reply