mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-10 21:00:55 -04:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user