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
This commit is contained in:
Piotr Caban 2023-08-22 16:17:02 +02:00 committed by Alexandre Julliard
parent f8cb15b13a
commit 254dd0a2b2

View file

@ -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 );