This commit is contained in:
Aurora Wright
2017-04-29 18:05:30 +02:00
parent 725a825762
commit 1887c6fae3
2 changed files with 6 additions and 19 deletions

View File

@@ -54,6 +54,8 @@ _start:
stmfd sp!, {r0-r12, lr}
ldrb r12, [r1]
cmp r12, #0x72 ; 'r', should include "rom:", "rom2:" and "rex:"
cmpne r12, #0x70 ; 'p', should include "patch:"
cmpne r12, #0x65 ; 'e', should include "ext:"
bne endRedir
sub sp, sp, #0x400
pathRedir: