From f115cd0a015e6689ccb40636056c2f26af9a5527 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 11 Mar 2023 17:17:27 +0100 Subject: [PATCH] ios_kernel: Fix instant patch "Patch MCP to syslog everything" --- source/ios_kernel/source/instant_patches.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ios_kernel/source/instant_patches.c b/source/ios_kernel/source/instant_patches.c index dc04f0e..44ff460 100644 --- a/source/ios_kernel/source/instant_patches.c +++ b/source/ios_kernel/source/instant_patches.c @@ -132,7 +132,7 @@ void instant_patches_setup(void) { *(volatile u32 *) fsa_phys(0x107F5720) = ARM_B(0x107F5720, 0x107F0C84); // Patch MCP to syslog everything - *(volatile u32 *) (0x05055438 - 0x05100000 + 0x13D80000) = ARM_B(0x05055438, 0x0503dcf8); + *(volatile u32 *) mcp_text_phys(0x05055438) = ARM_B(0x05055438, 0x0503dcf8); ios_map_shared_info_t map_info; map_info.paddr = mcp_custom_bss_phys(0x050BD000);