mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +00:00
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:
parent
8f9bb5612a
commit
9db0ebd4b6
9 changed files with 26 additions and 31 deletions
|
@ -22,11 +22,6 @@ void SetRoundMode(int mode)
|
|||
fesetround(rounding_mode_lut[mode]);
|
||||
}
|
||||
|
||||
void SetPrecisionMode(PrecisionMode /* mode */)
|
||||
{
|
||||
// x64 doesn't need this - fpu is done with SSE
|
||||
}
|
||||
|
||||
void SetSIMDMode(int rounding_mode, bool non_ieee_mode)
|
||||
{
|
||||
// OR-mask for disabling FPU exceptions (bits 7-12 in the MXCSR register)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue