From 057b30a3eb742025f5f91f19fc1e1d5ec1ad18e7 Mon Sep 17 00:00:00 2001 From: Antonio Castelli Date: Wed, 2 Jun 2021 19:49:43 -0700 Subject: [PATCH] Moved symbols in unknown_064830 to header file. --- include/unknown_064830.h | 29 +++++++++++++++++++++++++++++ src/unknown_064830.c | 2 ++ undefined_syms.txt | 7 ------- 3 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 include/unknown_064830.h diff --git a/include/unknown_064830.h b/include/unknown_064830.h new file mode 100644 index 00000000..8fc2ba1d --- /dev/null +++ b/include/unknown_064830.h @@ -0,0 +1,29 @@ +#ifndef _UNKNOWN_064830_H_ +#define _UNKNOWN_064830_H_ + +#include "types.h" + +extern s8 D_800DCEB0; +extern s32 D_800DCEB4; +extern s32 D_800DCEB8; +extern s32 D_800DCEBC; + +// TODO: Figure out what this actually is. +extern s32 D_800DCEC0[26]; + +// TODO: Figure out what this actually is. +extern s32 D_800DCF28[34]; + +// TODO: Figure out what this actually is. +extern s32 D_800DCFB0[10]; + +// TODO: Figure out what this actually is. +extern s32 D_800DCFD8[10]; + +// TODO: Figure out what this actually is. +extern s32 D_800DD000[10]; + +// TODO: Figure out what this actually is. +extern s32 D_800DD028[10]; + +#endif \ No newline at end of file diff --git a/src/unknown_064830.c b/src/unknown_064830.c index fe1d2ab4..1b73c0b6 100644 --- a/src/unknown_064830.c +++ b/src/unknown_064830.c @@ -1,6 +1,8 @@ /* The comment below is needed for this file to be picked up by generate_ld */ /* RAM_POS: 0x80063C30 */ +#include "unknown_064830.h" + #include "types.h" #include "macros.h" #include "libultra_internal.h" diff --git a/undefined_syms.txt b/undefined_syms.txt index 8c09c1f4..1cfab9a0 100755 --- a/undefined_syms.txt +++ b/undefined_syms.txt @@ -67,13 +67,6 @@ D_800D84C0 = 0x800D84C0; D_800D8590 = 0x800D8590; D_800D9790 = 0x800D9790; D_800DA970 = 0x800DA970; -D_800DCEB0 = 0x800DCEB0; -D_800DCEC0 = 0x800DCEC0; -D_800DCF28 = 0x800DCF28; -D_800DCFB0 = 0x800DCFB0; -D_800DCFD8 = 0x800DCFD8; -D_800DD000 = 0x800DD000; -D_800DD028 = 0x800DD028; D_800DD050 = 0x800DD050; D_800DD060 = 0x800DD060; D_800DD064 = 0x800DD064;