diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-11-10 12:21:05 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-10 12:21:05 -0800 |
commit | 9ed1584bab5d2c0676261d6419834cd9d4f7dc3c (patch) | |
tree | b451de240205ca20b9ce52bccb33d0d67adef3d8 /src/engine/save_failed_screen.c | |
parent | 8832b766facd48c85c1b99ac6dad555f1e2aa1c7 (diff) | |
parent | 0343a1bcd728d813a38fc3486535e962e681c094 (diff) |
Merge pull request #454 from ProjectRevoTPP/ewram
ewram refactor
Diffstat (limited to 'src/engine/save_failed_screen.c')
-rw-r--r-- | src/engine/save_failed_screen.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/engine/save_failed_screen.c b/src/engine/save_failed_screen.c index 17bda237e..ba2d46546 100644 --- a/src/engine/save_failed_screen.c +++ b/src/engine/save_failed_screen.c @@ -11,6 +11,7 @@ #include "strings.h" #include "task.h" #include "text.h" +#include "ewram.h" // In English 1.0, the text window is too small, causing text to overflow. @@ -22,8 +23,6 @@ #define CLOCK_WIN_TOP (MSG_WIN_TOP - 4) -extern u8 unk_2000000[]; - static EWRAM_DATA u16 gSaveFailedType = 0; static EWRAM_DATA u16 gSaveFailedClockInfo[9] = {0}; @@ -267,7 +266,7 @@ static void VBlankCB_UpdateClockGraphics(void) static bool8 VerifySectorWipe(u16 sector) { - u32 *ptr = (u32 *)&unk_2000000; + u32 *ptr = (u32 *)&gSharedMem; u16 i; ReadFlash(sector, 0, ptr, 4096); |