From 9df03620a84dc48ef697af54b2d7566a2b491f1d Mon Sep 17 00:00:00 2001 From: Antonio Castelli Date: Sun, 30 May 2021 23:37:09 -0700 Subject: [PATCH] Moved symbols in unknown_005740 to header file. --- include/unknown_005740.h | 12 ++++++++++++ src/unknown_005740.c | 2 ++ undefined_syms.txt | 4 ---- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 include/unknown_005740.h diff --git a/include/unknown_005740.h b/include/unknown_005740.h new file mode 100644 index 00000000..98edf833 --- /dev/null +++ b/include/unknown_005740.h @@ -0,0 +1,12 @@ +#ifndef _UNKNOWN_005740_H_ +#define _UNKNOWN_005740_H_ + +#include "types.h" + +extern s8 D_800DC6D0; +extern s32 D_800DC6D4; +extern s32 D_800DC6D8; +extern s32 D_800DC6DC; +extern s32 D_800DC6E0; + +#endif \ No newline at end of file diff --git a/src/unknown_005740.c b/src/unknown_005740.c index 94aecce3..73da5f9d 100644 --- a/src/unknown_005740.c +++ b/src/unknown_005740.c @@ -1,6 +1,8 @@ /* The comment below is needed for this file to be picked up by generate_ld */ /* RAM_POS: 0x80004B40 */ +#include "unknown_005740.h" + #include "types.h" #include "macros.h" diff --git a/undefined_syms.txt b/undefined_syms.txt index c4f1e363..7b07c24e 100755 --- a/undefined_syms.txt +++ b/undefined_syms.txt @@ -67,10 +67,6 @@ D_800D84C0 = 0x800D84C0; D_800D8590 = 0x800D8590; D_800D9790 = 0x800D9790; D_800DA970 = 0x800DA970; -D_800DC6D0 = 0x800DC6D0; -D_800DC6D4 = 0x800DC6D4; -D_800DC6D8 = 0x800DC6D8; -D_800DC6E0 = 0x800DC6E0; D_800DC6F0 = 0x800DC6F0; D_800DC6F8 = 0x800DC6F8; D_800DC700 = 0x800DC700;