PowerPC: Set host CPU rounding mode on init and savestate

Not doing this can cause desyncs when TASing. (I don't know
how common such desyncs would be, though. For games that
don't change rounding modes, they shouldn't be a problem.)
This commit is contained in:
JosJuice
2021-06-10 19:54:07 +02:00
parent 8f9bb5612a
commit 9db0ebd4b6
9 changed files with 26 additions and 31 deletions

View File

@ -41,10 +41,6 @@ void SetRoundMode(int mode)
// We don't need to do anything here since SetSIMDMode is always called after calling this
}
void SetPrecisionMode(PrecisionMode mode)
{
}
void SetSIMDMode(int rounding_mode, bool non_ieee_mode)
{
// When AH is disabled, FZ controls flush-to-zero for both inputs and outputs. When AH is enabled,