Minor stuff

This commit is contained in:
Aurora Wright
2017-04-17 01:01:03 +02:00
parent 0dc0783094
commit 653e81c48e
8 changed files with 40 additions and 31 deletions

View File

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