diff --git a/source/ios_kernel/source/instant_patches.c b/source/ios_kernel/source/instant_patches.c index 3af35db..606c960 100644 --- a/source/ios_kernel/source/instant_patches.c +++ b/source/ios_kernel/source/instant_patches.c @@ -77,6 +77,8 @@ void instant_patches_setup(void) { // allow any region title launch *(volatile u32 *) (0xE0030498 - 0xE0000000 + 0x12900000) = 0xE3A00000; // mov r0, #0 + // Patch CheckTitleLaunch to ignore gamepad connected result + *(volatile u32 *) (0xE0030868 - 0xE0000000 + 0x12900000) = 0xE3A00000; // mov r0, #0 *(volatile u32 *) (0x050254D6 - 0x05000000 + 0x081C0000) = THUMB_BL(0x050254D6, MCP_LoadFile_patch); *(volatile u32 *) (0x05025242 - 0x05000000 + 0x081C0000) = THUMB_BL(0x05025242, MCP_ioctl100_patch); diff --git a/source/ios_kernel/source/ios_mcp_patches_asm.s b/source/ios_kernel/source/ios_mcp_patches_asm.s index dd9ab4a..5a002b2 100644 --- a/source/ios_kernel/source/ios_mcp_patches_asm.s +++ b/source/ios_kernel/source/ios_mcp_patches_asm.s @@ -14,6 +14,7 @@ patch_wfs_partition_check: patch_bootMovie_check: patch_bootLogoTex_check: patch_region_launch_check: +patch_gamepad_launch_check: .arm mov r0, #0 bx lr @@ -26,9 +27,10 @@ mcp_patches_table: # .word 0x05014AD8, patch_wfs_partition_check, 4 # over an hour, MCP crash prevention .word 0x05022474, 0xFFFFFFFF, 4 -# MCP patches end here actually but lets tread the ACP patches as MCP as there are only patches +# MCP patches end here actually but lets treat the ACP patches as MCP as there are only patches .word 0xE0030D68, patch_bootMovie_check, 4 .word 0xE0030D34, patch_bootLogoTex_check, 4 .word 0xE0030498, patch_region_launch_check, 4 + .word 0xE0030868, patch_gamepad_launch_check, 4 mcp_patches_table_end: