diff --git a/configure.py b/configure.py index ae30c5dc8..aad400106 100755 --- a/configure.py +++ b/configure.py @@ -988,7 +988,7 @@ config.libs = [ Object(MatchingFor(ALL_GCN), "JSystem/JStudio/JStudio_JStage/object-ambientlight.cpp"), Object(MatchingFor(ALL_GCN), "JSystem/JStudio/JStudio_JStage/object-camera.cpp"), Object(MatchingFor(ALL_GCN), "JSystem/JStudio/JStudio_JStage/object-fog.cpp"), - Object(NonMatching, "JSystem/JStudio/JStudio_JStage/object-light.cpp"), + Object(MatchingFor(ALL_GCN), "JSystem/JStudio/JStudio_JStage/object-light.cpp"), ], ), JSystemLib( diff --git a/src/JSystem/JStudio/JStudio_JStage/object-light.cpp b/src/JSystem/JStudio/JStudio_JStage/object-light.cpp index f7e1e9369..a3291af3f 100644 --- a/src/JSystem/JStudio/JStudio_JStage/object-light.cpp +++ b/src/JSystem/JStudio/JStudio_JStage/object-light.cpp @@ -40,7 +40,6 @@ void JStudio_JStage::TAdaptor_light::adaptor_do_prepare() { } } -// NONMATCHING - regalloc void JStudio_JStage::TAdaptor_light::adaptor_do_begin() { { adaptor_object_begin_(); @@ -56,7 +55,8 @@ void JStudio_JStage::TAdaptor_light::adaptor_do_begin() { pLightObj->JSGGetPosition(&lightObjTransform.position); pLightObj->JSGGetDirection(&lightObjTransform.direction); const JStudio::TControl::TTransform_position_direction* finalTransform = - pControl->transformOnGet_transform_ifEnabled(lightObjTransform, &aTStack_b8); + (const JStudio::TControl::TTransform_position_direction*) + pControl->transformOnGet_transform_ifEnabled(lightObjTransform, &aTStack_b8); adaptor_setVariableValue_Vec(sauVariableValue_3_POSITION_XYZ, finalTransform->position); f32 dirx = finalTransform->direction.x; f32 diry = finalTransform->direction.y;