From b80efeb87d719fc87501e9042ff2bfe4bf38e739 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 22 May 2013 16:31:43 -0700 Subject: Set the correct SSE bits for round-to-zero --- Alc/helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- cgit v1.2.3