diff --git a/subsystems/ntvdm/dos.c b/subsystems/ntvdm/dos.c index 35e4c6fa26e..88d4cd46b65 100644 --- a/subsystems/ntvdm/dos.c +++ b/subsystems/ntvdm/dos.c @@ -2419,6 +2419,8 @@ VOID WINAPI DosInt21h(LPWORD Stack) { DPRINT1("DOS Function INT 0x21, AH = %xh, AL = %xh NOT IMPLEMENTED!\n", getAH(), getAL()); + + setAL(0); // Some functions expect AL to be 0 when it's not supported. Stack[STACK_FLAGS] |= EMULATOR_FLAG_CF; } }