From 29e889549eecfcdd097ed0d3b3dedf65190f54e9 Mon Sep 17 00:00:00 2001 From: Antonio Castelli Date: Sun, 6 Jun 2021 13:15:19 -0700 Subject: [PATCH] Moved symbols in unknown_080240 to header file. --- include/unknown_080240.h | 9 +++++++++ src/unknown_080240.c | 2 ++ undefined_syms.txt | 1 - 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 include/unknown_080240.h diff --git a/include/unknown_080240.h b/include/unknown_080240.h new file mode 100644 index 00000000..a3e0cfe4 --- /dev/null +++ b/include/unknown_080240.h @@ -0,0 +1,9 @@ +#ifndef _UNKNOWN_080240_H_ +#define _UNKNOWN_080240_H_ + +#include "fast3d.h" + +// Fast3D (F3DDKR) display list +Gfx D_800DF440[]; + +#endif diff --git a/src/unknown_080240.c b/src/unknown_080240.c index c9262c71..7ff92067 100644 --- a/src/unknown_080240.c +++ b/src/unknown_080240.c @@ -1,6 +1,8 @@ /* The comment below is needed for this file to be picked up by generate_ld */ /* RAM_POS: 0x8007F640 */ +#include "unknown_080240.h" + #include "types.h" #include "macros.h" #include "fast3d.h" diff --git a/undefined_syms.txt b/undefined_syms.txt index ac232ab6..0e903027 100755 --- a/undefined_syms.txt +++ b/undefined_syms.txt @@ -72,7 +72,6 @@ D_800DD434 = 0x800DD434; D_800DD438 = 0x800DD438; D_800DD43C = 0x800DD43C; D_800DDC3E = 0x800DDC3E; -D_800DF440 = 0x800DF440; D_800DF450 = 0x800DF450; D_800DF454 = 0x800DF454; D_800DF458 = 0x800DF458;