From d135f300f1a579c8e7ef61cb9765ab5cb40636e8 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 3 Jun 2022 21:02:15 +0200 Subject: [PATCH] Add FS/MCP log patches to instant patches --- source/ios_kernel/source/instant_patches.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/ios_kernel/source/instant_patches.c b/source/ios_kernel/source/instant_patches.c index 967b3dc..07d5bd7 100644 --- a/source/ios_kernel/source/instant_patches.c +++ b/source/ios_kernel/source/instant_patches.c @@ -109,6 +109,12 @@ void instant_patches_setup(void) { // set zero to start thread directly on first title change *(volatile u32 *) (0x050BC580 - 0x05000000 + 0x081C0000) = 0; + // Patch FS to syslog everything + *(volatile u32 *) (0x107F5720) = ARM_B(0x107F5720, 0x107F0C84); + + // Patch MCP to syslog everything + *(volatile u32 *) (0x05055438 - 0x05100000 + 0x13D80000) = ARM_B(0x05055438, 0x0503dcf8); + ios_map_shared_info_t map_info; map_info.paddr = 0x050BD000 - 0x05000000 + 0x081C0000; map_info.vaddr = 0x050BD000;