From 5b0511b83e87b4b7507c5f8d7448d5aa070cfcbe Mon Sep 17 00:00:00 2001 From: Antonio Castelli Date: Sun, 6 Jun 2021 13:02:05 -0700 Subject: [PATCH] Moved symbols in unknown_079F50 to header file. --- include/unknown_079F50.h | 23 +++++++++++++++++++++++ src/unknown_079F50.c | 2 ++ undefined_syms.txt | 11 ----------- 3 files changed, 25 insertions(+), 11 deletions(-) create mode 100644 include/unknown_079F50.h diff --git a/include/unknown_079F50.h b/include/unknown_079F50.h new file mode 100644 index 00000000..32ed2261 --- /dev/null +++ b/include/unknown_079F50.h @@ -0,0 +1,23 @@ +#ifndef _UNKNOWN_079F50_H_ +#define _UNKNOWN_079F50_H_ + +#include "types.h" + +// Unsure about if this is an array or struct. +extern s32 D_800DE730[]; +extern s32 D_800DE738[]; + +extern s32 D_800DE740; +extern s32 D_800DE744; +extern s32 D_800DE748; +extern s32 D_800DE74C; + +extern s32 D_800DE750; +extern u32 D_800DE754; +extern u32 D_800DE758; +extern s32 D_800DE75C; + +extern s32 D_800DE760; +extern s32 D_800DE764; + +#endif diff --git a/src/unknown_079F50.c b/src/unknown_079F50.c index 30663b6f..0a95f4c0 100644 --- a/src/unknown_079F50.c +++ b/src/unknown_079F50.c @@ -1,6 +1,8 @@ /* The comment below is needed for this file to be picked up by generate_ld */ /* RAM_POS: 0x80079350 */ +#include "unknown_079F50.h" + #include "types.h" #include "macros.h" #include "libultra_internal.h" diff --git a/undefined_syms.txt b/undefined_syms.txt index 21c0094b..a23bb1cf 100755 --- a/undefined_syms.txt +++ b/undefined_syms.txt @@ -72,17 +72,6 @@ D_800DD434 = 0x800DD434; D_800DD438 = 0x800DD438; D_800DD43C = 0x800DD43C; D_800DDC3E = 0x800DDC3E; -D_800DE730 = 0x800DE730; -D_800DE738 = 0x800DE738; -D_800DE740 = 0x800DE740; -D_800DE744 = 0x800DE744; -D_800DE748 = 0x800DE748; -D_800DE74C = 0x800DE74C; -D_800DE750 = 0x800DE750; -D_800DE754 = 0x800DE754; -D_800DE758 = 0x800DE758; -D_800DE760 = 0x800DE760; -D_800DE764 = 0x800DE764; D_800DE770 = 0x800DE770; D_800DE77C = 0x800DE77C; D_800DE7BC = 0x800DE7BC;