How can i load a prx from another prx?

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

Moderators: cheriff, TyRaNiD

Post Reply
-DaRealXecon-
Posts: 31
Joined: Wed Jul 09, 2008 7:50 am

How can i load a prx from another prx?

Post by -DaRealXecon- »

Hi,

i would like add a future to my own custom xmb with i can go to the normal XMB...

i had tryed it with this...
but it would not work. ._.

Code: Select all

// Go to normal XMB...
  SceUID mod = sceKernelLoadModule("flash0:/vsh/module/vshmain.ori.prx", 0, NULL);
   if(mod >= 0) {
      mod = sceKernelStartModule(mod, 0, NULL, NULL, NULL);
      if&#40;mod < 0&#41; &#123;&#125;
         //Error
   &#125;
My XMB runns in vsh mode (0x800) ;)
Thanks in advance! ;)
Post Reply