[NTVDM]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Mon, 20 Apr 2015 17:10:28 +0000 (17:10 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Mon, 20 Apr 2015 17:10:28 +0000 (17:10 +0000)
We must set the retry flag when repeating a call to GetNextVDMCommand.

svn path=/trunk/; revision=67326

reactos/subsystems/mvdm/ntvdm/dos/dem.c

index f6de163..10afa12 100644 (file)
@@ -237,6 +237,7 @@ Command:
                 CommandInfo.Env = Env = RtlReAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, Env, EnvSize);
 
                 /* Repeat the request */
+                CommandInfo.VDMState |= VDM_FLAG_RETRY;
                 goto Command;
             }