Softfloat: Stop doing special handling for FREM

This isn't correct and breaks games.
This makes the FREM and REM1 implementation the same.
While not 100% correct, it is still better than before.
New issues will be created to handle the differences in the future.

Fixes #1374.
Also fixes most of the HL2 issues, just not the seam issue.
This commit is contained in:
Ryan Houdek committed 2022-01-28 19:42:57 -08:00
1 parent 6fb0e3c0cf
commit 174ddea99d
1 file changed
+1 -9
+1 -9
View File
@@ -158,15 +158,7 @@ struct X80SoftFloat {
return Result;
#else
X80SoftFloat Rem = extF80_rem(lhs, rhs);
if (SignBit(Rem)) {
Rem = extF80_add(Rem, rhs);
}
else {
Rem.Sign = SignBit(lhs);
}
return Rem;
return extF80_rem(lhs, rhs);
#endif
}