Skip to content

Commit

Permalink
Merge pull request #31 from TheOfficialFloW/patch-1
Browse files Browse the repository at this point in the history
Added support for firmware 3.69/3.70
  • Loading branch information
xyzz authored May 18, 2019
2 parents 6f05133 + 3120dc9 commit a0a381c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions driver/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ int redirect_ux0() {
module_get_offset(KERNEL_PID, info.modid, 0, 0x182F5, (uintptr_t *)&sceIoFindMountPoint);
break;

case 0xF16E72C7: // 3.69 retail
case 0x81A49C2B: // 3.70 retail
module_get_offset(KERNEL_PID, info.modid, 0, 0x18735, (uintptr_t *)&sceIoFindMountPoint);
break;

default:
return -1;
}
Expand Down Expand Up @@ -263,6 +268,12 @@ void patch_appmgr() {
taiInjectDataForKernel(KERNEL_PID, appmgr_info.modid, 0, 0xB344, &nop_nop_opcode, 4);
taiInjectDataForKernel(KERNEL_PID, appmgr_info.modid, 0, 0xB374, &nop_nop_opcode, 2);
break;

case 0x321E4852: // 3.69 retail
case 0x700DA0CD: // 3.70 retail
taiInjectDataForKernel(KERNEL_PID, appmgr_info.modid, 0, 0xB34C, &nop_nop_opcode, 4);
taiInjectDataForKernel(KERNEL_PID, appmgr_info.modid, 0, 0xB37C, &nop_nop_opcode, 2);
break;
}
}
}
Expand Down

0 comments on commit a0a381c

Please sign in to comment.