From 91eeb11a10296024b488db1d4ffd83f3b863d962 Mon Sep 17 00:00:00 2001 From: Antonio Castelli Date: Sun, 6 Jun 2021 13:14:57 -0700 Subject: [PATCH] Moved symbols in unknown_07B870 to header file. --- include/unknown_07B870.h | 51 ++++++++++++++++++++++++++++++++++++++++ src/unknown_07B870.c | 2 ++ undefined_syms.txt | 16 ------------- 3 files changed, 53 insertions(+), 16 deletions(-) create mode 100644 include/unknown_07B870.h diff --git a/include/unknown_07B870.h b/include/unknown_07B870.h new file mode 100644 index 00000000..cfb641ba --- /dev/null +++ b/include/unknown_07B870.h @@ -0,0 +1,51 @@ +#ifndef _UNKNOWN_07B870_H_ +#define _UNKNOWN_07B870_H_ + +#include "types.h" + +extern u32 D_800DE7C0; +extern s32 D_800DE7C4; + +// Fast3D (F3DDKR) display list +extern u32 D_800DE7C8[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DE848[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DE868[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DE8E8[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DECE8[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DEDE8[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DEEE8[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DEF28[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DF028[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DF0A8[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DF1A8[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DF3A8[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DF3D8[]; + +// Fast3D (F3DDKR) display list +extern u32 D_800DF410[]; + +#endif diff --git a/src/unknown_07B870.c b/src/unknown_07B870.c index 1a9c1428..4e077910 100644 --- a/src/unknown_07B870.c +++ b/src/unknown_07B870.c @@ -1,6 +1,8 @@ /* The comment below is needed for this file to be picked up by generate_ld */ /* RAM_POS: 0x8007AC70 */ +#include "unknown_07B870.h" + #include "types.h" #include "macros.h" diff --git a/undefined_syms.txt b/undefined_syms.txt index 33cd49aa..ac232ab6 100755 --- a/undefined_syms.txt +++ b/undefined_syms.txt @@ -72,22 +72,6 @@ D_800DD434 = 0x800DD434; D_800DD438 = 0x800DD438; D_800DD43C = 0x800DD43C; D_800DDC3E = 0x800DDC3E; -D_800DE7C0 = 0x800DE7C0; -D_800DE7C4 = 0x800DE7C4; -D_800DE7C8 = 0x800DE7C8; -D_800DE848 = 0x800DE848; -D_800DE868 = 0x800DE868; -D_800DE8E8 = 0x800DE8E8; -D_800DECE8 = 0x800DECE8; -D_800DEDE8 = 0x800DEDE8; -D_800DEEE8 = 0x800DEEE8; -D_800DEF28 = 0x800DEF28; -D_800DF028 = 0x800DF028; -D_800DF0A8 = 0x800DF0A8; -D_800DF1A8 = 0x800DF1A8; -D_800DF3A8 = 0x800DF3A8; -D_800DF3D8 = 0x800DF3D8; -D_800DF410 = 0x800DF410; D_800DF440 = 0x800DF440; D_800DF450 = 0x800DF450; D_800DF454 = 0x800DF454;