mirror of
https://github.com/wiiu-env/haxchi.git
synced 2024-11-17 05:39:16 +01:00
3b005e9a39
NOTE: this change (as well as the last update) do NOT AFFECT MOCHA CFW, they only affect my internal CBHC CFW which you can enable by just setting it to autoboot system menu which will give you full signature and region patching as well as this protection and re-applying patches on reloads; overall letting your wiiu and the menu run as they would normally
24 lines
322 B
ArmAsm
24 lines
322 B
ArmAsm
.section ".init"
|
|
.thumb
|
|
.syntax unified
|
|
|
|
.globl _start
|
|
|
|
_start:
|
|
ldr r0, =#0x00050000
|
|
cmp r0, r1
|
|
bne nomatch
|
|
ldr r0, =#0x00000000 @will be written in by CBHC
|
|
cmp r0, r2
|
|
beq match
|
|
nomatch:
|
|
@orignal code
|
|
movs r0, #0x9F
|
|
movs r3, #0x9F
|
|
bx lr
|
|
match:
|
|
@return delete error
|
|
movs r0, #0
|
|
ldr r3, =#(0x05108236+1)
|
|
bx r3
|