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 

sceKernelFindModuleByName import check fail

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



Joined: 23 Nov 2006
Posts: 22

PostPosted: Thu Oct 25, 2007 3:19 pm    Post subject: sceKernelFindModuleByName import check fail Reply with quote

A psp slim 3.60M33:

Code:

PSP_MODULE_INFO("Tester", 0, 1, 1);

void dummy_function_never_called()
{
   sceKernelFindModuleByName("dummy");
}

int main()
{
  return 0;
}


PSP simply says: "The Game can't be started,(0x8002013c), look like as a import stub check by $ony loader.

prxtool outputs:
Code:

Import 9, Name LoadCoreForKernel, Functions 2, Variables 0, flags 40000000
Functions:
0xCF8A41B1 [0x0000F598] - sceKernelFindModuleByName


The flags 40000000 is interesting.
Back to top
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Thu Oct 25, 2007 5:45 pm    Post subject: Reply with quote

sceKernelFindModuleByName (LoadCoreForKernel) is a kernel only function, and you are trying to use it in an user module.
Back to top
View user's profile Send private message
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