diff options
author | Cameron Hall <cameronghall@cox.net> | 2019-08-04 23:31:50 -0500 |
---|---|---|
committer | Cameron Hall <cameronghall@cox.net> | 2019-08-04 23:40:59 -0500 |
commit | 6aff563512d963cff64ab3b24a7eb63674f4d3fa (patch) | |
tree | 7b7a676f83d036c874350c46aeae576fea552d83 | |
parent | 890edd5103b7dcb08dcaed90dcc181abd395f03b (diff) |
fix build
-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 |