Detect the main VSH module and log

This commit is contained in:
Henrik Rydgård committed 2026-07-27 23:44:14 +02:00
1 parent 606c233ee1
commit 02aedb598d
2 files changed
+13 -1

No files matched your search

+8 -1
View File
@@ -28,8 +28,15 @@
class PointerWrap;
struct SceKernelSMOption;
// Known bits of PspModuleInfo::moduleAttrs.
enum {
PSP_MODULE_USER_MODE = 0x0000,
PSP_MODULE_VSH_MODE = 0x0800,
PSP_MODULE_KERNEL_MODE = 0x1000,
};
struct PspModuleInfo {
u16_le moduleAttrs; //0x0000 User Mode, 0x1000 Kernel Mode
u16_le moduleAttrs; //0x0000 User Mode, 0x0800 VSH Mode, 0x1000 Kernel Mode
u16_le moduleVersion;
// 28 bytes of module name, packed with 0's.
char name[28];