diff options
author | SNBeast <snburchett@gmail.com> | 2021-07-08 20:31:33 -0400 |
---|---|---|
committer | SNBeast <snburchett@gmail.com> | 2021-07-08 20:31:33 -0400 |
commit | e1895a19eac585f6100785937a07caf29fe42c36 (patch) | |
tree | e2745dc2e9e3f3712e9b683395d286d71f780c9d | |
parent | d30bc8b08414a6a564b1d3fb9ba7b49eaa972844 (diff) |
Use already defined constants
whoops I should've checked this before
-rw-r--r-- | arm9/src/unk_02022450.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arm9/src/unk_02022450.c b/arm9/src/unk_02022450.c index 2c69342c..34d2dcd6 100644 --- a/arm9/src/unk_02022450.c +++ b/arm9/src/unk_02022450.c @@ -15,8 +15,8 @@ THUMB_FUNC void FUN_02022450 () { else { if (!*(u32*)0x027FF00C) { CARD_Init(); - MI_CpuCopy8((u8*)0x027FFE00, (u8*)0x027FF000, 22 * 16); - MI_CpuCopy8((u8*)0x027FFE00, (u8*)0x027FFA80, 22 * 16); + MI_CpuCopy8((u8*)HW_ROM_HEADER_BUF, (u8*)0x027FF000, 22 * 16); + MI_CpuCopy8((u8*)HW_ROM_HEADER_BUF, (u8*)HW_CARD_ROM_HEADER, 22 * 16); *(u32*)0x027FF00C = 0x4A414441; } FSArchive * const r0 = FS_FindArchive(string_saying_rom, 3); |