From 8d9aa6f95e93e21611ede62a31c0bbbc60f4cc96 Mon Sep 17 00:00:00 2001 From: Princess of Sleeping <29831892+Princess-of-Sleeping@users.noreply.github.com> Date: Sun, 17 Feb 2019 15:20:25 +0900 Subject: [PATCH] fix wrong NID (#532) * fix wrong NID * fix wrong NID --- modules/kernel/main.c | 2 +- modules/patch/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/kernel/main.c b/modules/kernel/main.c index 602bd08..7f935cc 100644 --- a/modules/kernel/main.c +++ b/modules/kernel/main.c @@ -141,7 +141,7 @@ int _shellKernelMountById(ShellMountIdArgs *args) { return SCE_KERNEL_START_SUCCESS; switch (tai_info.module_nid) { - case 0xEB0466DC: // 3.55 retail + case 0x94CEFE4B: // 3.55 retail module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x2DE1, (uintptr_t *)&sceAppMgrFindProcessInfoByPid); module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x19e15, (uintptr_t *)&sceAppMgrMountById); break; diff --git a/modules/patch/main.c b/modules/patch/main.c index 0ec3a94..49055e7 100644 --- a/modules/patch/main.c +++ b/modules/patch/main.c @@ -32,7 +32,7 @@ int module_start(SceSize args, void *argp) { // Patch to allow Memory Card remount uint32_t nop_nop_opcode = 0xBF00BF00; switch (info.module_nid) { - case 0xEB0466DC: // 3.55 retail + case 0x94CEFE4B: // 3.55 retail case 0xDBB29DB7: // 3.60 retail case 0x1C9879D6: // 3.65 retail hooks[0] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB338, &nop_nop_opcode, 4);