mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Update sceKernelModule.cpp
This commit is contained in:
parent
5e58594e21
commit
47ae4709ba
1 changed files with 8 additions and 1 deletions
|
@ -69,6 +69,7 @@ enum {
|
|||
static const char *lieAboutSuccessModules[] = {
|
||||
"flash0:/kd/audiocodec.prx",
|
||||
"flash0:/kd/libatrac3plus.prx",
|
||||
"disc0:/PSP_GAME/SYSDIR/UPDATE/EBOOT.BIN",
|
||||
};
|
||||
|
||||
static const char *blacklistedModules[] = {
|
||||
|
@ -1409,6 +1410,12 @@ u32 sceKernelGetModuleId()
|
|||
u32 sceKernelFindModuleByName(const char *name)
|
||||
{
|
||||
ERROR_LOG_REPORT(HLE, "UNIMPL sceKernelFindModuleByName(%s)", name);
|
||||
|
||||
int index = GetModuleIndex(name);
|
||||
|
||||
if (index == -1)
|
||||
return 0;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -1549,4 +1556,4 @@ void Register_ModuleMgrForKernel()
|
|||
{
|
||||
RegisterModule("ModuleMgrForKernel", ARRAY_SIZE(ModuleMgrForKernel), ModuleMgrForKernel);
|
||||
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue