From 48fffbba41b171ee15daf504820eda11b707e809 Mon Sep 17 00:00:00 2001 From: cottonvibes Date: Sun, 31 Aug 2008 22:50:31 +0000 Subject: [PATCH] minor change, shouldn't affect anything. git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@78 a6443dda-0b58-4228-96e9-037be469359c --- pcsx2/x86/ix86-32/iR5900-32.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcsx2/x86/ix86-32/iR5900-32.c b/pcsx2/x86/ix86-32/iR5900-32.c index 714435cf9d..8855327c56 100644 --- a/pcsx2/x86/ix86-32/iR5900-32.c +++ b/pcsx2/x86/ix86-32/iR5900-32.c @@ -1457,6 +1457,9 @@ void SetCPUState(u32 sseMXCSR, u32 sseVUMXCSR) // SSE STATE // // WARNING: do not touch unless you know what you are doing + sseMXCSR &= 0xffff; // clear the upper 16 bits since they shouldn't be set + sseVUMXCSR &= 0xffff; + if( cpucaps.hasStreamingSIMDExtensions ) { g_sseMXCSR = sseMXCSR; g_sseVUMXCSR = sseVUMXCSR;