From 83cb18d9db5ec48d675f6cd639dc183c39635457 Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Sat, 6 Apr 2024 04:35:56 -0600 Subject: [PATCH] Fixed compilation --- include/gfx.h | 2 +- include/libc/stdbool.h | 1 + src/sys/sys_main.c | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) 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;