mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-16 13:09:18 +01:00
fs: remove raw access patches
This commit is contained in:
parent
d9b6c7d1c2
commit
fb12520149
@ -62,11 +62,6 @@ void instant_patches_setup(void) {
|
||||
|
||||
*(volatile u32 *) 0x0812CD2C = ARM_B(0x0812CD2C, kernel_syscall_0x81);
|
||||
|
||||
// Keep patches for backwards compatibility (libiosuhax)
|
||||
// patch FSA raw access
|
||||
*(volatile u32 *) fsa_phys(0x1070FAE8) = 0x05812070;
|
||||
*(volatile u32 *) fsa_phys(0x1070FAEC) = 0xEAFFFFF9;
|
||||
|
||||
// Add IOCTL 0x28 to indicate the calling client should have full fs permissions
|
||||
*(volatile u32 *) fsa_phys(0x10701248) = _FSA_ioctl0x28_hook;
|
||||
|
||||
|
@ -49,11 +49,6 @@ void fs_run_patches(uint32_t ios_elf_start) {
|
||||
section_write_word(ios_elf_start, 0x107044f0, ARM_BL(0x107044f0, FSA_IOCTL_HOOK));
|
||||
section_write_word(ios_elf_start, 0x10704458, ARM_BL(0x10704458, FSA_IOS_Close_Hook));
|
||||
|
||||
// Keep patches for backwards compatibility (libiosuhax)
|
||||
// patch FSA raw access
|
||||
section_write_word(ios_elf_start, 0x1070FAE8, 0x05812070);
|
||||
section_write_word(ios_elf_start, 0x1070FAEC, 0xEAFFFFF9);
|
||||
|
||||
// fat32 driver patches
|
||||
|
||||
// patch out fopen in stat
|
||||
|
Loading…
Reference in New Issue
Block a user