Decompile code_8008E6A0.c / Add CHECK_PAD macro (#156)

* Decompile code_8008E6A0.c

* Delete "counter" file
This commit is contained in:
Random
2020-05-22 14:33:10 +02:00
committed by GitHub
parent 9a478a96ec
commit 89b0977e39
16 changed files with 88 additions and 111 deletions
+2
View File
@@ -77,4 +77,6 @@
viewport.topY = ty; \
viewport.leftX = lx;
#define CHECK_PAD(state, combo) (~(state.in.button | ~(combo)) == 0)
#endif
+2 -2
View File
@@ -448,8 +448,8 @@ typedef struct {
} SoundContext; // size = 0x4
typedef struct {
/* 0x00 */ s32 unk_0;
/* 0x04 */ char unk_4[0x4];
/* 0x00 */ u32 toggle;
/* 0x04 */ s32 counter;
} SubGlobalContext7B8; // size = 0x8
typedef struct {