diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2020-04-21 12:30:07 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2020-04-21 12:30:07 -0400 |
commit | 8cdd2f137d6041538dcba2b13580b0f43f1cc549 (patch) | |
tree | d1b529a9e44cda643a0f927ba6bdb321ff36d177 /src | |
parent | 6ceaabc28c712f82c6100f8288af66774bfdbb82 (diff) | |
parent | aeb4e938f5f48c8484419f5333a5b0e6caee7a21 (diff) |
merge
Diffstat (limited to 'src')
-rw-r--r-- | src/FUN_02000DF4.c | 11 | ||||
-rw-r--r-- | src/main.c | 45 | ||||
-rw-r--r-- | src/string_util.c | 2 |
3 files changed, 5 insertions, 53 deletions
diff --git a/src/FUN_02000DF4.c b/src/FUN_02000DF4.c index 0cc1c2dd..0099480c 100644 --- a/src/FUN_02000DF4.c +++ b/src/FUN_02000DF4.c @@ -1,12 +1,5 @@ -#include "nitro.h" - -struct Unk2106FA0 { - u8 filler0[0x8]; - s32 unk8; - s32 unkC; - s32 unk10; - s32 unk14; -}; +#include "global.h" +#include "main.h" extern struct Unk2106FA0 gBacklightTop; @@ -1,46 +1,5 @@ - -typedef unsigned char u8; -typedef unsigned short u16; -typedef unsigned long u32; -typedef signed char s8; -typedef signed short s16; -typedef signed long s32; - -struct Unk2106FA0 -{ - s32 unk0; - s32 unk4; - s32 unk8; - s32 unkC; - s32 unk10; - s32 unk14; - s32 unk18; - s32 unk1C; - s32 unk20; -}; - -struct Unk21C48B8 -{ - void (*unk0)(s32); - s32 unk4; - s32 unk8; - s32 unkC; - s32 unk10; - s32 unk14; - s32 unk18; - s32 unk1C; - s32 unk20; - s32 unk24; - s32 unk28; - s32 unk2C; - s32 unk30; - s32 unk34; - s32 unk38; - u8 filler3C[0xC]; - s32 unk48; - u8 filler4C[0x20]; - s32 unk6C; -}; +#include "global.h" +#include "main.h" extern struct Unk2106FA0 gBacklightTop; extern struct Unk2106FA0 gBacklightTop_2; // same as the first one, it's referenced twice in the constant pool... diff --git a/src/string_util.c b/src/string_util.c index 7d755cb9..8f9c96ff 100644 --- a/src/string_util.c +++ b/src/string_util.c @@ -1,4 +1,4 @@ -#include "nitro.h"
+#include "global.h"
u16 gDigitTable[] = {
0xA2,
|