Author: aandrejevic
Date: Sat May 16 20:06:28 2015
New Revision: 67783
URL:
http://svn.reactos.org/svn/reactos?rev=67783&view=rev
Log:
[NTVDM]
Drivers that have no I/O status routine should be treated as "ready".
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dosfiles.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dosfiles.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/dos/…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dosfiles.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dosfiles.c [iso-8859-1] Sat May 16
20:06:28 2015
@@ -944,7 +944,7 @@
{
/* Device*/
- if (Node->InputStatusRoutine &&
Node->InputStatusRoutine(Node))
+ if (!Node->InputStatusRoutine || Node->InputStatusRoutine(Node))
{
/* Set the length to 0xFF to mark that it's ready */
*Length = 0xFF;
@@ -982,7 +982,7 @@
{
/* Device*/
- if (Node->OutputStatusRoutine &&
Node->OutputStatusRoutine(Node))
+ if (!Node->OutputStatusRoutine || Node->OutputStatusRoutine(Node))
{
/* Set the length to 0xFF to mark that it's ready */
*Length = 0xFF;