mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 21:31:04 +00:00
* Use _mm_setcsr over assembly Exists on all platforms, so might as well use it. * Clang * Missing include * Unconditionally set FPUCW As per review suggestions. * Fix FPUCW and MXCSR registers on Windows For some reason only Microsoft knows, settings these values in the context doesn't work. Also their controlfp functions don't seem to work either, so I used assembly instead. * Set MXCSR on all platforms All three platforms use the same default MXCSR register value. Use an assembly instruction to set this for all platforms.