HLE: Add sceKernelQueryLoadCoreCB

The firmware's semawm.prx (6.61), which PMP Mod and psp-me-bench load, decrypts
code that walks LoadCore's registered-library hash buckets at the start of this
block, looking for libraries a custom firmware would add. We don't keep those
structures, so it gets an empty table in kernel memory, made on first use and
kept in the savestate.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-21 08:58:10 +02:00
1 parent a51fe51055
commit 33b6229a6f
3 files changed
+29 -2

No files matched your search

+1
View File
@@ -270,6 +270,7 @@ bool KernelUnloadModuleByID(SceUID moduleId);
int __KernelStartModule(SceUID moduleId, u32 argsize, u32 argAddr, u32 returnValueAddr, SceKernelSMOption *smoption, bool *needsWait);
u32 __KernelStopUnloadSelfModuleWithOrWithoutStatus(u32 exitCode, u32 argSize, u32 argp, u32 statusAddr, u32 optionAddr, bool WithStatus);
u32 sceKernelFindModuleByUID(u32 uid);
u32 sceKernelQueryLoadCoreCB();
void Register_ModuleMgrForUser();
void Register_ModuleMgrForKernel();