fs: remove raw access patches

This commit is contained in:
Maschell 2024-04-11 18:43:48 +02:00
parent d9b6c7d1c2
commit fb12520149
2 changed files with 0 additions and 10 deletions

View File

@ -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;

View File

@ -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