mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-25 17:26:53 +01:00
Always patch launch_ios function
This commit is contained in:
parent
1e1a87f2ef
commit
6c5cfa9230
@ -107,7 +107,7 @@ void kernel_launch_ios(u32 launch_address, u32 L, u32 C, u32 H)
|
||||
void kernel_run_patches(u32 ios_elf_start)
|
||||
{
|
||||
section_write(ios_elf_start, (u32)__KERNEL_CODE_START, __KERNEL_CODE_START, __KERNEL_CODE_END - __KERNEL_CODE_START);
|
||||
//section_write_word(ios_elf_start, 0x0812A120, ARM_BL(0x0812A120, kernel_launch_ios));
|
||||
section_write_word(ios_elf_start, 0x0812A120, ARM_BL(0x0812A120, kernel_launch_ios));
|
||||
|
||||
section_write(ios_elf_start, 0x08140DE0, KERNEL_MCP_IOMAPPINGS_STRUCT, sizeof(KERNEL_MCP_IOMAPPINGS_STRUCT));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user