summaryrefslogtreecommitdiff
path: root/src/JSystem/J3DGraphAnimator/J3DAnimation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JSystem/J3DGraphAnimator/J3DAnimation.cpp')
-rw-r--r--src/JSystem/J3DGraphAnimator/J3DAnimation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/JSystem/J3DGraphAnimator/J3DAnimation.cpp b/src/JSystem/J3DGraphAnimator/J3DAnimation.cpp
index 86384109..0fa5ac9e 100644
--- a/src/JSystem/J3DGraphAnimator/J3DAnimation.cpp
+++ b/src/JSystem/J3DGraphAnimator/J3DAnimation.cpp
@@ -336,6 +336,7 @@ f32 J3DHermiteInterpolationS(f32 t, s16* time0, s16* value0, s16* tangent0, s16*
register s16* p6 = value1;
register s16* p7 = tangent1;
register f32 fout;
+#ifdef __MWERKS__
asm {
psq_l f0, 0(p2), 0x1, 5
psq_l f3, 0(p5), 0x1, 5
@@ -358,6 +359,7 @@ f32 J3DHermiteInterpolationS(f32 t, s16* time0, s16* value0, s16* tangent0, s16*
fmadds fout, f5, f7, fout
fsubs fout, fout, f3
}
+#endif
return fout;
}