Fix errors for msvc

Use less strict compiler flags instead of modifying source code

Add ugly defines so MSVC stops complaining about zero length arrays
This commit is contained in:
roeming
2026-01-18 18:11:54 -05:00
committed by Jeffrey Crowell
parent ef14b2b932
commit 81d679d207
105 changed files with 1871 additions and 1760 deletions
+2 -2
View File
@@ -622,7 +622,7 @@ static u8 l_shadowSealDL[] ATTRIBUTE_ALIGN(32) = {
};
dDlst_2DT2_c::dDlst_2DT2_c() {
field_0x40 = (GXColor){0, 0, 0, 0};
field_0x40 = COMPOUND_LITERAL(GXColor){0, 0, 0, 0};
}
void dDlst_2DT2_c::init(ResTIMG* i_timg, f32 param_1, f32 param_2, f32 param_3, f32 param_4,
@@ -634,7 +634,7 @@ void dDlst_2DT2_c::init(ResTIMG* i_timg, f32 param_1, f32 param_2, f32 param_3,
field_0x30 = param_4;
mScaleX = i_scaleX;
mScaleY = i_scaleY;
field_0x3c = (GXColor){0, 0, 0, 255};
field_0x3c = COMPOUND_LITERAL(GXColor){0, 0, 0, 255};
field_0x44 = param_6;
if (field_0x44 != 0 && GXGetTexObjWrapS(&mTexObj) == 2) {