summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-08 21:43:56 -0700
committerYamaArashi <shadow962@live.com>2016-04-08 21:43:56 -0700
commit8890ea36eef541ba571df102c3353ee411033261 (patch)
treedac1738e0c1a312cf418d834c2c5bb2f90899c88 /asm
parent9edfc54fb8b3c2bc46f9730a0eaa80811cb156dd (diff)
AGB flash library
Diffstat (limited to 'asm')
-rw-r--r--asm/rom.s10
1 files changed, 6 insertions, 4 deletions
diff --git a/asm/rom.s b/asm/rom.s
index 7e5fa928d..527055113 100644
--- a/asm/rom.s
+++ b/asm/rom.s
@@ -600023,7 +600023,7 @@ sub_8125440: ; 8125440
lsls r0, 24
lsrs r4, r0, 24
adds r0, r4, 0
- bl ProgramFlashSectorsAndVerify
+ bl ProgramFlashSectorAndVerify
cmp r0, 0
bne _0812545C
movs r0, 0x1
@@ -601555,7 +601555,7 @@ _08126030:
movs r2, 0x80
lsls r2, 5
adds r1, r4, 0
- bl ProgramFlashSectorsVerifyFirstNBytes
+ bl ProgramFlashSectorAndVerifyNBytes
ldr r1, _0812605C
str r0, [r1]
cmp r0, 0
@@ -601582,7 +601582,7 @@ sub_8126068: ; 8126068
push {lr}
lsls r0, 24
lsrs r0, 24
- bl ProgramFlashSectorsAndVerify
+ bl ProgramFlashSectorAndVerify
cmp r0, 0
bne _0812607A
movs r0, 0x1
@@ -676820,7 +676820,9 @@ _0814AE2C: .4byte gUnknown_0842F6C0
.include "data/data1.s"
.include "asm/libgcnmultiboot.s"
.include "asm/libmks4agb.s"
- .include "asm/libagbbackup.s"
+ .include "genasm/agb_flash.s"
+ .include "genasm/agb_flash_1m.s"
+ .include "genasm/agb_flash_mx.s"
.include "genasm/siirtc.s"
.include "asm/libagbsyscall.s"
.include "asm/libgcc.s"