diff options
Diffstat (limited to 'src/agb_sram.c')
-rw-r--r-- | src/agb_sram.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/agb_sram.c b/src/agb_sram.c index e58d5fa..b33003c 100644 --- a/src/agb_sram.c +++ b/src/agb_sram.c @@ -1,8 +1,9 @@ #include "global.h" #include "agb_sram.h" -static u16 verifySramFast_Work[80]; // buffer to hold code of VerifySramFast_Core -static u16 readSramFast_Work[64]; // buffer to hold code of ReadSramFast_Core +// this should be in .bss +extern /*static*/ u16 verifySramFast_Work[80]; // buffer to hold code of VerifySramFast_Core +extern /*static*/ u16 readSramFast_Work[64]; // buffer to hold code of ReadSramFast_Core u32 (*VerifySramFast)(const u8 *src, u8 *dest, u32 size); // pointer to verifySramFast_Work void (*ReadSramFast)(const u8 *src, u8 *dest, u32 size); // pointer to readSramFast_Work |