mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-28 05:37:36 -05:00
Make sure to mask out the FPU rounding mode correctly. Good spot from LionCash.
This commit is contained in:
@@ -84,7 +84,7 @@ namespace FPURoundMode
|
||||
};
|
||||
unsigned short _mode;
|
||||
asm ("fstcw %0" : : "m" (_mode));
|
||||
_mode = (_mode & ~table[4]) | table[mode];
|
||||
_mode = (_mode & ~table[3]) | table[mode];
|
||||
asm ("fldcw %0" : : "m" (_mode));
|
||||
#endif
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user