diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp index 758718b3a1..d797766126 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp @@ -22,7 +22,7 @@ void Interpreter::Helper_FloatCompareOrdered(UGeckoInstruction _inst, double fa, { int compareResult; - if (IsNAN(fa) || IsNAN(fb)) + if (std::isnan(fa) || std::isnan(fb)) { FPSCR.FX = 1; compareResult = FPCC::FU; @@ -62,7 +62,7 @@ void Interpreter::Helper_FloatCompareUnordered(UGeckoInstruction _inst, double f { int compareResult; - if (IsNAN(fa) || IsNAN(fb)) + if (std::isnan(fa) || std::isnan(fb)) { compareResult = FPCC::FU;