mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
parent
5f1e3b2950
commit
d0f18cbbe5
1 changed files with 3 additions and 7 deletions
|
@ -2335,14 +2335,10 @@ u32 sceKernelFindModuleByUID(u32 uid)
|
|||
|
||||
u32 sceKernelFindModuleByName(const char *name)
|
||||
{
|
||||
ERROR_LOG_REPORT(SCEMODULE, "UNIMPL sceKernelFindModuleByName(%s)", name);
|
||||
|
||||
int index = GetModuleIndex(name);
|
||||
|
||||
if (index == -1)
|
||||
return 0;
|
||||
|
||||
return 1;
|
||||
u32 temp = index + 1;
|
||||
INFO_LOG(SCEMODULE, "%d = sceKernelFindModuleByName(%s)", temp, name);
|
||||
return temp;
|
||||
}
|
||||
|
||||
static u32 sceKernelLoadModuleByID(u32 id, u32 flags, u32 lmoptionPtr)
|
||||
|
|
Loading…
Add table
Reference in a new issue