diff options
author | Chris Robinson <[email protected]> | 2013-05-22 16:31:43 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-05-22 16:31:43 -0700 |
commit | b80efeb87d719fc87501e9042ff2bfe4bf38e739 (patch) | |
tree | 3587fe896221e01049d8922ff7875ca0838a62c6 | |
parent | 52efb8d7f43e85659bc84455361f8685a5f493ed (diff) |
Set the correct SSE bits for round-to-zero
-rw-r--r-- | Alc/helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c index 36934ca4..9e347396 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -205,7 +205,7 @@ void SetMixerFPUMode(FPUCtl *ctl) int sseState; __asm__ __volatile__("stmxcsr %0" : "=m" (*&sseState)); ctl->sse_state = sseState; - sseState |= 0x0C00; /* set round-to-zero */ + sseState |= 0x6000; /* set round-to-zero */ sseState |= 0x8000; /* set flush-to-zero */ __asm__ __volatile__("ldmxcsr %0" : : "m" (*&sseState)); } |