Instead of filtering mountpoints in the LayeredFS payload by their first letters, change known mountpoints not starting with "r" to start with "r" throughout the code

This commit is contained in:
Aurora Wright
2017-04-28 00:33:30 +02:00
parent c7e7dd8248
commit db33c315f2
2 changed files with 19 additions and 7 deletions

View File

@@ -54,8 +54,6 @@ _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: