Commit 9acfc0e4 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

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

Pickles).
parent 68f458dd
......@@ -1092,7 +1092,10 @@ void WINAPI DOS3Call( CONTEXT *context )
AH_reg(context) = AL_reg(context);
}
DOS_ERROR( 0, 0, 0, 0 );
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))
......
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