mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
Fix build issues on OS X i386.
This commit is contained in:
parent
c054049712
commit
a9908fdf09
4 changed files with 6 additions and 4 deletions
|
@ -70,7 +70,7 @@ namespace FPURoundMode
|
|||
3 << 8, // FPU_PREC_MASK
|
||||
};
|
||||
unsigned short _mode;
|
||||
asm ("fstcw %0" : : "m" (_mode));
|
||||
asm ("fstcw %0" : "=m" (_mode));
|
||||
_mode = (_mode & ~table[3]) | table[mode];
|
||||
asm ("fldcw %0" : : "m" (_mode));
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue