diff --git a/include/unknown_07AF10.h b/include/unknown_07AF10.h new file mode 100644 index 00000000..c1e3d929 --- /dev/null +++ b/include/unknown_07AF10.h @@ -0,0 +1,20 @@ +#ifndef _UNKNOWN_07AF10_H_ +#define _UNKNOWN_07AF10_H_ + +#include "types.h" + +extern s32 D_800DE770; +extern s32 D_800DE774; +extern s8 D_800DE778; + +/* Size: 0x08 bytes */ +typedef struct unk800DE77C { + /* 0x00 */ s32 unk0; + /* 0x04 */ s32 unk4; +} unk800DE77C; + +extern unk800DE77C D_800DE77C[8]; + +extern s32 D_800DE7BC; + +#endif diff --git a/src/unknown_07AF10.c b/src/unknown_07AF10.c index bf69b37b..5dad13af 100644 --- a/src/unknown_07AF10.c +++ b/src/unknown_07AF10.c @@ -1,6 +1,8 @@ /* The comment below is needed for this file to be picked up by generate_ld */ /* RAM_POS: 0x8007A310 */ +#include "unknown_07AF10.h" + #include "types.h" #include "macros.h" @@ -10,12 +12,6 @@ s32 D_800DE770 = 0; s32 D_800DE774 = 0; // Currently unknown, might be a different type. s8 D_800DE778 = 2; -/* Size: 0x08 bytes */ -typedef struct unk800DE77C { - /* 0x00 */ s32 unk0; - /* 0x04 */ s32 unk4; -} unk800DE77C; - extern unk800DE77C D_800DE77C[8] = { { 0x140, 0xF0 }, { 0x140, 0xF0 }, diff --git a/undefined_syms.txt b/undefined_syms.txt index a23bb1cf..33cd49aa 100755 --- a/undefined_syms.txt +++ b/undefined_syms.txt @@ -72,9 +72,6 @@ D_800DD434 = 0x800DD434; D_800DD438 = 0x800DD438; D_800DD43C = 0x800DD43C; D_800DDC3E = 0x800DDC3E; -D_800DE770 = 0x800DE770; -D_800DE77C = 0x800DE77C; -D_800DE7BC = 0x800DE7BC; D_800DE7C0 = 0x800DE7C0; D_800DE7C4 = 0x800DE7C4; D_800DE7C8 = 0x800DE7C8;