]> Chaos Git - corbenik/corbenik.git/commitdiff
Relative bl is not a good search pattern, use before it instead.
authorchaoskagami <chaos.kagami@gmail.com>
Tue, 7 Jun 2016 14:48:17 +0000 (10:48 -0400)
committerchaoskagami <chaos.kagami@gmail.com>
Tue, 7 Jun 2016 14:54:40 +0000 (10:54 -0400)
patch/ns_force_menu.pco

index dbcd84e32df1309eb22a1311c7aa9e9c02c4cbc9..1e4847e9f114b1ee69df7ef3ef0ed8454ab0ec21 100644 (file)
@@ -4,14 +4,14 @@
 # $ver   01
 # $uuid  1e
 
-# Major thanks to @Reisyukaku for this one.
+# This was originally based on the code from @Reisyukaku's pastebin.
 
-# Status: needs loader
+# Suggestion from @TuxSH / @Steveice10.
+# Searching for a relative bl is error prone,
+# so find the code before the bl and seek forward instead
+find 1b00000abc009fe5
+fwd  04
 
-# ldr r0, =0x101
-# bl getRegionSpecificAppID
-find bc009fe5524500eb
-
-# mov r0, r9 (== 0x00008102) */
-# mov r1, r8 (== 0x00040030) */
-set 0910a0e10800a0e1
+# mov r0, r9 (== 0x00008102)
+# mov r1, r8 (== 0x00040030)
+set  0910a0e10800a0e1