diff options
author | dheu <gwimminus@gmail.com> | 2019-07-08 18:39:12 +0800 |
---|---|---|
committer | dheu <gwimminus@gmail.com> | 2019-07-08 18:39:12 +0800 |
commit | cc77a3ecbf453ed38ec2fcddae0ad506182b10d9 (patch) | |
tree | efbc89dec7705fe617f7c54535c9002951d3df99 | |
parent | 1a0186c3f692e5e07ef553e3292d9ca76c15a899 (diff) |
fix: ewram
-rw-r--r-- | src/diploma.c | 5 | ||||
-rw-r--r-- | sym_ewram.txt | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/diploma.c b/src/diploma.c index 9f30e50f2..60a6d2fba 100644 --- a/src/diploma.c +++ b/src/diploma.c @@ -50,8 +50,9 @@ struct Diploma u8 gfxStep; u8 callbackStep; u16 tilemapBuffer[0x800]; -} - *gDiploma = NULL; +}; + +static EWRAM_DATA struct Diploma *gDiploma = NULL; extern const u32 gUnknown_84154E8[]; diff --git a/sym_ewram.txt b/sym_ewram.txt index 8a162a19f..a103b0c8e 100644 --- a/sym_ewram.txt +++ b/sym_ewram.txt @@ -1130,8 +1130,7 @@ gUnknown_203AB40: @ 203AB40 gUnknown_203AB44: @ 203AB44 .space 0x4 -gDiploma: @ 203AB48 - .space 0x4 + .include "src/diploma.o" gUnknown_203AB4C: @ 203AB4C .space 0x4 |