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