mirror of
https://github.com/wiiu-env/haxchi.git
synced 2024-11-17 05:39:16 +01:00
0ad99123db
-added new config option to haxchi, "sysmenu" which will relaunch you into the system menu with signature, region patches and everything else that cbhc patches -small logic correction in the iosu patcher
19 lines
288 B
ArmAsm
19 lines
288 B
ArmAsm
.section ".text"
|
|
.arm
|
|
.align 4
|
|
|
|
.globl disable_mmu
|
|
.type disable_mmu, %function
|
|
disable_mmu:
|
|
mrc p15, 0, r0, c1, c0, 0
|
|
ldr r1, =#0xFFFFEFFA
|
|
and r1, r0, r1
|
|
mcr p15, 0, r1, c1, c0, 0
|
|
bx lr
|
|
|
|
.globl restore_mmu
|
|
.type restore_mmu, %function
|
|
restore_mmu:
|
|
mcr p15, 0, r0, c1, c0, 0
|
|
bx lr
|