From 6242aa6e8411cd6bbcfec5ee4f421950a62cae8d Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Fri, 26 Sep 2025 21:50:46 -0400 Subject: Misc matches and fixes (#2703) * Match mDoExt_morf_c::getPlayMode * Misc cleanup * Fix actor cull spheres * Match daPy_py_c::getLastSceneSwordAtUpTime, JUTGamePad::testTrigger * Fix improper demangling of dBgS_SphChk::SetCallback * Fix d_camera rangef weak func order * Match more alink_wolf funcs --- include/JSystem/J3DGraphBase/J3DDrawBuffer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/JSystem/J3DGraphBase') diff --git a/include/JSystem/J3DGraphBase/J3DDrawBuffer.h b/include/JSystem/J3DGraphBase/J3DDrawBuffer.h index 1cc88b4079..3a71f94b45 100644 --- a/include/JSystem/J3DGraphBase/J3DDrawBuffer.h +++ b/include/JSystem/J3DGraphBase/J3DDrawBuffer.h @@ -11,6 +11,7 @@ inline f32 J3DCalcZValue(register MtxP m, register Vec v) { register f32 temp_f2; register f32 temp_f1 = 1.0f; +#ifdef __MWERKS__ // clang-format off asm { psq_l temp_f0, 0(v), 0, 0 /* qr0 */ @@ -23,6 +24,7 @@ inline f32 J3DCalcZValue(register MtxP m, register Vec v) { ps_sum0 out, out, out, out } // clang-format on +#endif return out; } -- cgit v1.2.3