win87em: always return that a 8087 coprocessor is present.

Alexandre Julliard julliard at winehq.org
Wed Apr 8 04:39:08 CDT 2009


Rein Klazes <wijn at online.nl> writes:

> @@ -203,9 +203,9 @@ void WINAPI _fpMath( CONTEXT *context )
>          context->Eax &= ~0xffff;  /* set AX to 0 */
>          break;
>  
> -    case 11: /* just returns the installed flag in DX:AX */
> +    case 11: /* returns in ax whether a 8087 coprocessor is present, say yes */
>          context->Edx &= ~0xffff;  /* set DX to 0 */
> -        context->Eax = (context->Eax & ~0xffff) | Installed;
> +        context->Eax = (context->Eax & ~0xffff) | 1;

Should you set Installed to 1 instead?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list