diff --git a/include/gfx.h b/include/gfx.h index d34ac252..8e8a0a4a 100644 --- a/include/gfx.h +++ b/include/gfx.h @@ -82,7 +82,7 @@ typedef union { u16 array[SCREEN_HEIGHT][SCREEN_WIDTH]; } FrameBuffer; // size = 0x25800 -typedef bool (*OverrideLimbDraw)(s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3f* rot, void* this); +typedef bool (*OverrideLimbDraw)(s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3f* rot, void* thisx); typedef void (*PostLimbDraw)(s32, Vec3f*, void*); typedef struct { diff --git a/include/libc/stdbool.h b/include/libc/stdbool.h index f3225b8a..1cf3449b 100644 --- a/include/libc/stdbool.h +++ b/include/libc/stdbool.h @@ -1,3 +1,4 @@ +#define LIBC_STDBOOL_H #ifndef LIBC_STDBOOL_H #define LIBC_STDBOOL_H diff --git a/src/sys/sys_main.c b/src/sys/sys_main.c index 3913e198..fc56c53c 100644 --- a/src/sys/sys_main.c +++ b/src/sys/sys_main.c @@ -1,6 +1,8 @@ #include "sys.h" #include "sf64audio_external.h" +#include + s32 sGammaMode = 1; SPTask* gCurrentTask;