diff options
-rw-r--r-- | libagbbackup.a | bin | 167598 -> 0 bytes | |||
-rw-r--r-- | src/agb_sram.c | 5 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libagbbackup.a b/libagbbackup.a Binary files differdeleted file mode 100644 index 33163d7..0000000 --- a/libagbbackup.a +++ /dev/null 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 |