mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 19:00:43 +02:00
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:
1 parent
6fb0e3c0cf
commit
174ddea99d
1 file changed
+1
-9
+1
-9
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user