mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-13 03:35:07 +01:00
ios_kernel: reset the whole custom mcp bss section
This commit is contained in:
parent
f115cd0a01
commit
0bf3c642b2
@ -89,7 +89,7 @@ void instant_patches_setup(void) {
|
|||||||
// fix 10 minute timeout that crashes MCP after 10 minutes of booting
|
// fix 10 minute timeout that crashes MCP after 10 minutes of booting
|
||||||
*(volatile u32 *) mcp_text_phys(0x05022474) = 0xFFFFFFFF; // NEW_TIMEOUT
|
*(volatile u32 *) mcp_text_phys(0x05022474) = 0xFFFFFFFF; // NEW_TIMEOUT
|
||||||
|
|
||||||
kernel_memset((void *) mcp_text_phys(0x050BD000), 0, 0x2F00);
|
kernel_memset((void *) mcp_custom_bss_phys(0x050BD000), 0, 0x3000);
|
||||||
|
|
||||||
// allow custom bootLogoTex and bootMovie.h264
|
// allow custom bootLogoTex and bootMovie.h264
|
||||||
*(volatile u32 *) acp_text_phys(0xE0030D68) = 0xE3A00000; // mov r0, #0
|
*(volatile u32 *) acp_text_phys(0xE0030D68) = 0xE3A00000; // mov r0, #0
|
||||||
|
Loading…
Reference in New Issue
Block a user