projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NTVDM]
[reactos.git]
/
subsystems
/
ntvdm
/
dos.c
diff --git
a/subsystems/ntvdm/dos.c
b/subsystems/ntvdm/dos.c
index
35e4c6f
..
88d4cd4
100644
(file)
--- 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;
}
}