summaryrefslogtreecommitdiff
path: root/src/engine/save_failed_screen.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-11-05 23:07:39 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-11-05 23:07:39 -0500
commit618240c62639bc4da73d400965b6df67b2c3619e (patch)
tree4dca7115eac299f045db3984290f69783fa27801 /src/engine/save_failed_screen.c
parentce1d3a195f1ccce4d49cb37bb6b7c4679698c538 (diff)
move src/engine/ direct ewram calls to ewram.h.
Diffstat (limited to 'src/engine/save_failed_screen.c')
-rw-r--r--src/engine/save_failed_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/save_failed_screen.c b/src/engine/save_failed_screen.c
index 17bda237e..d194c1625 100644
--- a/src/engine/save_failed_screen.c
+++ b/src/engine/save_failed_screen.c
@@ -22,7 +22,7 @@
#define CLOCK_WIN_TOP (MSG_WIN_TOP - 4)
-extern u8 unk_2000000[];
+extern u8 ewram[];
static EWRAM_DATA u16 gSaveFailedType = 0;
static EWRAM_DATA u16 gSaveFailedClockInfo[9] = {0};
@@ -267,7 +267,7 @@ static void VBlankCB_UpdateClockGraphics(void)
static bool8 VerifySectorWipe(u16 sector)
{
- u32 *ptr = (u32 *)&unk_2000000;
+ u32 *ptr = (u32 *)&ewram;
u16 i;
ReadFlash(sector, 0, ptr, 4096);