From 40d9721e1f1411bcd4cfa44f1584adc005cfaa7f Mon Sep 17 00:00:00 2001 From: sum2012 Date: Tue, 3 Dec 2013 07:35:27 +0800 Subject: [PATCH] Wrap sceKernelGetModuleIdList maybe first step of solve #2404 --- Core/HLE/sceKernelModule.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceKernelModule.cpp b/Core/HLE/sceKernelModule.cpp index fef5918b64..a8815ea545 100644 --- a/Core/HLE/sceKernelModule.cpp +++ b/Core/HLE/sceKernelModule.cpp @@ -1802,6 +1802,12 @@ u32 sceKernelQueryModuleInfo(u32 uid, u32 infoAddr) return 0; } +u32 sceKernelGetModuleIdList(u32 resultBuffer, u32 resultBufferSize,u32 idCountAddr) +{ + ERROR_LOG_REPORT(SCEMODULE, "UNIMPL sceKernelGetModuleIdList(%08x, %i,%08x)", resultBuffer, resultBufferSize, idCountAddr); + return 0; +} + u32 ModuleMgrForKernel_977de386(const char *name, u32 flags, u32 optionAddr) { WARN_LOG(SCEMODULE,"Not support this patcher"); @@ -1837,7 +1843,7 @@ const HLEFunction ModuleMgrForUser[] = {0xf0a26395,WrapU_V, "sceKernelGetModuleId"}, {0x8f2df740,WrapU_UUUUU,"sceKernelStopUnloadSelfModuleWithStatus"}, {0xfef27dc1,&WrapU_CU , "sceKernelLoadModuleDNAS"}, - {0x644395e2,0,"sceKernelGetModuleIdList"}, + {0x644395e2,WrapU_UUU,"sceKernelGetModuleIdList"}, {0xf2d8d1b4,&WrapU_CUU,"sceKernelLoadModuleNpDrm"}, {0xe4c4211c,0,"ModuleMgrForUser_E4C4211C"}, {0xfbe27467,0,"ModuleMgrForUser_FBE27467"},