mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-29 19:14:15 +01:00
Patch CheckTitleLaunch to ignore gamepad connected result
This commit is contained in:
parent
1466ed3a57
commit
4108e78800
@ -77,6 +77,8 @@ void instant_patches_setup(void) {
|
|||||||
|
|
||||||
// allow any region title launch
|
// allow any region title launch
|
||||||
*(volatile u32 *) (0xE0030498 - 0xE0000000 + 0x12900000) = 0xE3A00000; // mov r0, #0
|
*(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 *) (0x050254D6 - 0x05000000 + 0x081C0000) = THUMB_BL(0x050254D6, MCP_LoadFile_patch);
|
||||||
*(volatile u32 *) (0x05025242 - 0x05000000 + 0x081C0000) = THUMB_BL(0x05025242, MCP_ioctl100_patch);
|
*(volatile u32 *) (0x05025242 - 0x05000000 + 0x081C0000) = THUMB_BL(0x05025242, MCP_ioctl100_patch);
|
||||||
|
@ -14,6 +14,7 @@ patch_wfs_partition_check:
|
|||||||
patch_bootMovie_check:
|
patch_bootMovie_check:
|
||||||
patch_bootLogoTex_check:
|
patch_bootLogoTex_check:
|
||||||
patch_region_launch_check:
|
patch_region_launch_check:
|
||||||
|
patch_gamepad_launch_check:
|
||||||
.arm
|
.arm
|
||||||
mov r0, #0
|
mov r0, #0
|
||||||
bx lr
|
bx lr
|
||||||
@ -26,9 +27,10 @@ mcp_patches_table:
|
|||||||
# .word 0x05014AD8, patch_wfs_partition_check, 4
|
# .word 0x05014AD8, patch_wfs_partition_check, 4
|
||||||
# over an hour, MCP crash prevention
|
# over an hour, MCP crash prevention
|
||||||
.word 0x05022474, 0xFFFFFFFF, 4
|
.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 0xE0030D68, patch_bootMovie_check, 4
|
||||||
.word 0xE0030D34, patch_bootLogoTex_check, 4
|
.word 0xE0030D34, patch_bootLogoTex_check, 4
|
||||||
.word 0xE0030498, patch_region_launch_check, 4
|
.word 0xE0030498, patch_region_launch_check, 4
|
||||||
|
.word 0xE0030868, patch_gamepad_launch_check, 4
|
||||||
mcp_patches_table_end:
|
mcp_patches_table_end:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user