diff --git a/include/MetroidPrime/CPhysicsState.hpp b/include/MetroidPrime/CPhysicsState.hpp index c37811e2..b8d738a2 100644 --- a/include/MetroidPrime/CPhysicsState.hpp +++ b/include/MetroidPrime/CPhysicsState.hpp @@ -14,7 +14,7 @@ public: const CAxisAngle& torque, const CAxisAngle& angularImpulse); CVector3f GetTranslation() const { return x0_translation; } - const CQuaternion& GetOrientationWR() const { return xc_orientation; } + CQuaternion GetOrientationWR() const { return xc_orientation; } CVector3f GetConstantForceWR() const { return x1c_constantForce; } CAxisAngle GetAngularMomentumWR() const { return x28_angularMomentum; } CVector3f GetMomentumWR() const { return x34_momentum; } diff --git a/obj_files.mk b/obj_files.mk index 3c0cc969..643040bc 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -796,7 +796,7 @@ MUSYX_FILES :=\ $(BUILD_DIR)/asm/musyx/hw_volconv.o\ $(BUILD_DIR)/asm/musyx/snd3d.o\ $(BUILD_DIR)/src/musyx/snd_init.o\ - $(BUILD_DIR)/src/musyx/snd_math.o\ + $(BUILD_DIR)/asm/musyx/snd_math.o\ $(BUILD_DIR)/asm/musyx/snd_midictrl.o\ $(BUILD_DIR)/src/musyx/snd_service.o\ $(BUILD_DIR)/asm/musyx/hardware.o\