mirror of
https://github.com/joel16/VitaShell.git
synced 2024-11-26 21:30:45 +00:00
kernel module support for FW 3.55 (#531)
* Added support for FW 3.55 * Added support for FW 3.55
This commit is contained in:
parent
3e7b07f665
commit
5471c5c4ae
@ -141,6 +141,11 @@ int _shellKernelMountById(ShellMountIdArgs *args) {
|
||||
return SCE_KERNEL_START_SUCCESS;
|
||||
|
||||
switch (tai_info.module_nid) {
|
||||
case 0xEB0466DC: // 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;
|
||||
|
||||
case 0xDBB29DB7: // 3.60 retail
|
||||
module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x2DE1, (uintptr_t *)&sceAppMgrFindProcessInfoByPid);
|
||||
module_get_offset(KERNEL_PID, tai_info.modid, 0, 0x19B51, (uintptr_t *)&sceAppMgrMountById);
|
||||
@ -260,6 +265,7 @@ int module_start(SceSize args, void *argp) {
|
||||
|
||||
// Get important function
|
||||
switch (info.module_nid) {
|
||||
case 0x7A1DBDE6: // 3.55 retail
|
||||
case 0x9642948C: // 3.60 retail
|
||||
module_get_offset(KERNEL_PID, info.modid, 0, 0x138C1, (uintptr_t *)&sceIoFindMountPoint);
|
||||
break;
|
||||
|
@ -32,6 +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 0xDBB29DB7: // 3.60 retail
|
||||
case 0x1C9879D6: // 3.65 retail
|
||||
hooks[0] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB338, &nop_nop_opcode, 4);
|
||||
|
Loading…
Reference in New Issue
Block a user