From 6c5cfa9230c657c931bb6d38b30a52d4a0191cb5 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 20 Jun 2020 23:39:12 +0200 Subject: [PATCH] Always patch launch_ios function --- source/ios_kernel/source/kernel_patches.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ios_kernel/source/kernel_patches.c b/source/ios_kernel/source/kernel_patches.c index 03deadf..7d49b1f 100644 --- a/source/ios_kernel/source/kernel_patches.c +++ b/source/ios_kernel/source/kernel_patches.c @@ -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));