summaryrefslogtreecommitdiff
path: root/include/objects.h
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-08-03 20:57:07 -0600
committerGitHub <noreply@github.com>2024-08-03 20:57:07 -0600
commitc270c11c9bee22a2c6fd9395f21f389e18c8afed (patch)
tree390538449d09a778c6f85931fffdeb2e1b0f066d /include/objects.h
parent016b16a4845d51d32bbff97c29dbcf5509471e55 (diff)
Lakitu fix (#35)
* Fix menu bug * Fix undefined behaviour * Fix kart textures * Fix boost texture * Rename as per review * Fix buffer overflows * Fix lakitu progress * Fix race starter character --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'include/objects.h')
-rw-r--r--include/objects.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/objects.h b/include/objects.h
index 91e5f4cb5..6a0a9b1ae 100644
--- a/include/objects.h
+++ b/include/objects.h
@@ -23,15 +23,15 @@ typedef struct
/* 0x54 */ s32 status;
/* 0x58 */ s32 unk_058;
/* 0x5C */ s32 unk_05C;
- /* 0x60 */ u8 *activeTLUT;
- /* 0x64 */ u8 *activeTexture;
+ /* 0x60 */ const char *activeTLUT;
+ /* 0x64 */ const char *activeTexture;
/**
* "list" is something of a misnomer for the names here
* they can be pointers to just 1 tlut/texture, but it is common for one or the other
* to be a pointer to an array of tluts/textures.
**/
/* 0x68 */ u8 *tlutList; // I feel like this should actually be `u8 (*tlutList)[512]`, but that causes mismatches
- /* 0x6C */ u8 *textureList;
+ /* 0x6C */ const char **textureList;
/* 0x70 */ Gfx *model;
/* 0x74 */ Vtx *vertex;
/* 0x78 */ s8 unk_078[0x04];