sceKernelFindModuleByName import check fail

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

Moderators: cheriff, TyRaNiD

Post Reply
hrimfaxi
Posts: 20
Joined: Thu Nov 23, 2006 5:40 pm

sceKernelFindModuleByName import check fail

Post by hrimfaxi »

A psp slim 3.60M33:

Code: Select all

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

Import 9, Name LoadCoreForKernel, Functions 2, Variables 0, flags 40000000
Functions:
0xCF8A41B1 [0x0000F598] - sceKernelFindModuleByName
The flags 40000000 is interesting.
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

sceKernelFindModuleByName (LoadCoreForKernel) is a kernel only function, and you are trying to use it in an user module.
Post Reply