From c96b8e185567c6fdbc79651dddb625c9256755c9 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 27 Feb 2024 20:21:11 -0700 Subject: [PATCH] Fix build error --- arm9/source/dumpOperations.cpp | 2 ++ arm9/source/fileOperations.cpp | 1 + arm9/source/main.h | 2 -- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arm9/source/dumpOperations.cpp b/arm9/source/dumpOperations.cpp index da2d83b..9df469a 100644 --- a/arm9/source/dumpOperations.cpp +++ b/arm9/source/dumpOperations.cpp @@ -23,6 +23,8 @@ #include #include +#define copyBufSize 0x8000 + extern u8 copyBuf[copyBufSize]; static sNDSHeaderExt ndsCardHeader; diff --git a/arm9/source/fileOperations.cpp b/arm9/source/fileOperations.cpp index 20e0619..1d708a4 100644 --- a/arm9/source/fileOperations.cpp +++ b/arm9/source/fileOperations.cpp @@ -12,6 +12,7 @@ #include "screenshot.h" #include "language.h" +#define copyBufSize 0x8000 #define shaChunkSize 0x10000 // u8* copyBuf = (u8*)0x02004000; diff --git a/arm9/source/main.h b/arm9/source/main.h index f35e22a..d22978c 100644 --- a/arm9/source/main.h +++ b/arm9/source/main.h @@ -17,6 +17,4 @@ extern int ownNitroFSMounted; extern bool applaunch; -#define copyBufSize 0x8000 - #endif //MAIN_H