diff --git a/Core/MIPS/MIPSVFPUUtils.cpp b/Core/MIPS/MIPSVFPUUtils.cpp index e5d06e8c30..ab058bd935 100644 --- a/Core/MIPS/MIPSVFPUUtils.cpp +++ b/Core/MIPS/MIPSVFPUUtils.cpp @@ -1018,7 +1018,7 @@ void vfpu_sincos(float a, float &s, float &c) { if (negate) val.i ^= 0x80000000; s = val.f; - c = 1.0f; + c = negate ? -1.0f : 1.0f; return; }