diff options
author | Mateusz Naściszewski <matin1111@wp.pl> | 2020-12-28 04:23:40 +0100 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2020-12-28 20:13:22 -0600 |
commit | 1d43c0efebf166781b264467980e09d0333ab851 (patch) | |
tree | 1cf226d88d46639c6fa7982a9db3e2c733a576f8 /include/input.h | |
parent | fb2fc3a2bad1605c32b49b5402c1efe56b0792b0 (diff) |
Decompile GameLoop and lots of renames
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/input.h b/include/input.h index 17e2baf..9c93128 100644 --- a/include/input.h +++ b/include/input.h @@ -1,7 +1,7 @@ #ifndef GUARD_INPUT_H #define GUARD_INPUT_H -struct UnkInputStruct1 +struct Inputs { /* 0x0 */ u16 held; /* 0x2 */ u16 pressed; @@ -12,7 +12,7 @@ struct UnkInputStruct1 /* 0xC */ s32 repeatTimerDpad; }; -struct UnkInputStruct2 +struct InputTimers { /* 0x0 */ s16 holdTimerB; /* 0x2 */ s16 holdTimerR; @@ -20,7 +20,7 @@ struct UnkInputStruct2 /* 0x6 */ u16 unk6; }; -struct Input +struct UnusedInputStruct { /* 0x0 */ u16 unk0; /* 0x2 */ u16 unk2; @@ -34,7 +34,7 @@ struct Input /* 0x12 */ u16 unk12; /* 0x14 */ u16 unk14; /* 0x16 */ u16 unk16; - /* 0x16 */ u16 unk18; + /* 0x18 */ u16 unk18; /* 0x1A */ u16 unk1A; /* 0x1C */ u16 unk1C; /* 0x1E */ u16 unk1E; @@ -43,8 +43,7 @@ struct Input /* 0x24 */ u16 unk26; /* 0x28 */ u8 unk28; /* 0x29 */ u8 unk29; - /* 0x2A */ u8 unk2A; - /* 0x2B */ u8 padding; + /* 0x2A..0x2B - padding */ }; void InitInput(void); @@ -57,7 +56,7 @@ u8 sub_80048C8(void); u8 sub_80048CC(void); void ResetRepeatTimers(void); void UnpressButtons(void); -void sub_8004914(void); +void ResetUnusedInputStruct(void); void UpdateInput(void); #endif // GUARD_INPUT_H |