mirror of
https://github.com/joel16/VitaShell.git
synced 2024-11-23 03:39:39 +00:00
Added offsets for 3.69
This commit is contained in:
parent
ba2136cedb
commit
d8bc5bcd5d
@ -156,6 +156,11 @@ int _shellKernelMountById(ShellMountIdArgs *args) {
|
||||
module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x2DE1, (uintptr_t *)&sceAppMgrFindProcessInfoByPid);
|
||||
module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x19E6D, (uintptr_t *)&sceAppMgrMountById);
|
||||
break;
|
||||
|
||||
case 0x321E4852: // 3.69 retail
|
||||
module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x2DE9, (uintptr_t *)&sceAppMgrFindProcessInfoByPid);
|
||||
module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x19B85, (uintptr_t *)&sceAppMgrMountById);
|
||||
break;
|
||||
}
|
||||
|
||||
res = module_get_export_func(KERNEL_PID, "SceKernelModulemgr",
|
||||
@ -264,6 +269,10 @@ int module_start(SceSize args, void *argp) {
|
||||
module_get_offset(KERNEL_PID, info.modid, 0, 0x182F5, (uintptr_t *)&sceIoFindMountPoint);
|
||||
break;
|
||||
|
||||
case 0xF16E72C7: // 3.69 retail
|
||||
module_get_offset(KERNEL_PID, info.modid, 0, 0x18735, (uintptr_t *)&sceIoFindMountPoint);
|
||||
break;
|
||||
|
||||
default:
|
||||
return SCE_KERNEL_START_SUCCESS;
|
||||
}
|
||||
|
@ -43,6 +43,11 @@ int module_start(SceSize args, void *argp) {
|
||||
hooks[0] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB344, &nop_nop_opcode, 4);
|
||||
hooks[1] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB374, &nop_nop_opcode, 2);
|
||||
break;
|
||||
|
||||
case 0x321E4852: // 3.69 retail
|
||||
hooks[0] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB34C, &nop_nop_opcode, 4);
|
||||
hooks[1] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB37C, &nop_nop_opcode, 2);
|
||||
break;
|
||||
}
|
||||
|
||||
return SCE_KERNEL_START_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user