haxchi/dsrom/CBHC/titleprot/source/crt0.s
FIX94 3b005e9a39 -added anti move/delete protection of the ds vc title when in CBHC CFW
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
2016-12-16 23:33:30 +01:00

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