Clear DOS extended error only for funcs >=0x2f (thanks to Dave

Pickles).
This commit is contained in:
Ove Kaaven 1999-01-20 12:45:32 +00:00 committed by Alexandre Julliard
parent 68f458ddde
commit 9acfc0e4fb
1 changed files with 4 additions and 1 deletions

View File

@ -1092,7 +1092,10 @@ void WINAPI DOS3Call( CONTEXT *context )
AH_reg(context) = AL_reg(context);
}
if (AH_reg(context)>=0x2f) {
/* extended error is used by (at least) functions 0x2f to 0x62 */
DOS_ERROR( 0, 0, 0, 0 );
}
RESET_CFLAG(context); /* Not sure if this is a good idea */
switch(AH_reg(context))