From d9c1ebb6263cc3a2d494c9ece53edb3c8a2a4b39 Mon Sep 17 00:00:00 2001 From: MegaMech Date: Mon, 15 Apr 2024 10:53:58 -0600 Subject: Initial gcc Support (#568) * Added GCC --- src/code_800029B0.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/code_800029B0.c') diff --git a/src/code_800029B0.c b/src/code_800029B0.c index 86acf4c63..a665de1b8 100644 --- a/src/code_800029B0.c +++ b/src/code_800029B0.c @@ -26,7 +26,6 @@ extern s32 D_802BA038; extern s16 D_802BA048; - s16 gCurrentCourseId = 0; s16 gCurrentlyLoadedCourseId = 0xFF; u16 D_800DC5A8 = 0; @@ -52,7 +51,7 @@ u16 D_800DC5E4 = 0; //! @todo gPlayerWinningIndex (D_800DC5E8) accessed as word, D_800DC5EB as u8 s32 gPlayerWinningIndex = 0; -struct UnkStruct_800DC5EC D_8015F480[4]; +ALIGNED16 struct UnkStruct_800DC5EC D_8015F480[4]; struct UnkStruct_800DC5EC *D_800DC5EC = &D_8015F480[0]; struct UnkStruct_800DC5EC *D_800DC5F0 = &D_8015F480[1]; struct UnkStruct_800DC5EC *D_800DC5F4 = &D_8015F480[2]; @@ -66,7 +65,7 @@ Lights1 D_800DC610[] = { gdSPDefLights1(175, 175, 175, 255, 255, 255, 0, 0, 120), gdSPDefLights1(115, 115, 115, 255, 255, 255, 0, 0, 120), }; -static s32 pad_800029B0 = 0x80000000; +UNUSED s32 pad_800029B0 = 0x80000000; s16 gCreditsCourseId = COURSE_LUIGI_RACEWAY; s16 gPlaceItemBoxes = 1; -- cgit v1.2.3