From 28e9cfac5e2fe052336925aa46ba02c5a4d93feb Mon Sep 17 00:00:00 2001 From: chaoskagami Date: Mon, 19 Dec 2016 19:45:22 -0500 Subject: [PATCH] According to Luma's commit log, <=8.0 only has one instance of the cart update pattern --- patch/block_cart_update.pco | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/patch/block_cart_update.pco b/patch/block_cart_update.pco index cedfb67..ff87872 100644 --- a/patch/block_cart_update.pco +++ b/patch/block_cart_update.pco @@ -6,12 +6,14 @@ rel exe_text -# Status: needs loader +# According to Luma, there's only one instance of the cart update pattern on NS <= 8.0. +# https://github.com/AuroraWright/Luma3DS/commit/f492318e3c15e16cf572c76cef06dd2014953f20 -find 0C18E1D8 -abortnf -set 0B1821C8 +# Therefore, loop to replace these instances and exit upon not-found. find 0C18E1D8 -abortnf +jmpnf end set 0B1821C8 +jmp next + +end: -- 2.39.5