summaryrefslogtreecommitdiff
path: root/src/engine/link.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-11-05 01:34:52 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-11-05 01:34:52 -0400
commit4cf701c5871a17f0bc580019e8d294bc1c84ebf3 (patch)
treee2d7246d97c18b1660156d345ee988212a039d84 /src/engine/link.c
parent8832b766facd48c85c1b99ac6dad555f1e2aa1c7 (diff)
move ewram defines to ewram.h.
Diffstat (limited to 'src/engine/link.c')
-rw-r--r--src/engine/link.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine/link.c b/src/engine/link.c
index 7f7e48083..86413cfbf 100644
--- a/src/engine/link.c
+++ b/src/engine/link.c
@@ -35,7 +35,6 @@ struct LinkTestBGInfo
u32 dummy_C;
};
-extern u8 unk_2000000[];
extern u8 unk_2004000[];
extern u16 gBattleTypeFlags;
@@ -507,7 +506,7 @@ static void ProcessRecvCmds(u8 unusedParam)
case 0x8888:
if (sBlockRecv[i].size > BLOCK_BUFFER_SIZE)
{
- u16 *buffer = (u16 *)unk_2000000;
+ u16 *buffer = (u16 *)ewram;
u16 j;
for (j = 0; j < CMD_LENGTH - 1; j++)
buffer[(sBlockRecv[i].pos / 2) + j] = gRecvCmds[j + 1][i];