Commit 254dd0a2 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcr70: Don't set SSE2 control register in _control87.

Restores old function behavior in msvcr70 and msvcr71. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55414
parent f8cb15b1
......@@ -1195,7 +1195,7 @@ int CDECL __control87_2( unsigned int newval, unsigned int mask,
unsigned int CDECL _control87(unsigned int newval, unsigned int mask)
{
unsigned int flags = 0;
#ifdef __i386__
#if defined(__i386__) && (_MSVCR_VER == 0 || _MSVCR_VER >= 80)
unsigned int sse2_cw;
__control87_2( newval, mask, &flags, &sse2_cw );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment