[NTVDM]: temporary fix for "lastdrive": put it to 'Z' (max drive letter you can have...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 10 May 2015 10:28:33 +0000 (10:28 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 10 May 2015 10:28:33 +0000 (10:28 +0000)
svn path=/trunk/; revision=67616

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

index 4c2586a..627d0af 100644 (file)
@@ -39,7 +39,7 @@
 CALLBACK16 DosContext;
 
 /*static*/ BYTE CurrentDrive;
 CALLBACK16 DosContext;
 
 /*static*/ BYTE CurrentDrive;
-static CHAR LastDrive = 'E';
+static CHAR LastDrive = 'Z'; // The last drive can be redefined with the LASTDRIVE command. At the moment, set the real maximum possible, 'Z'.
 static CHAR CurrentDirectories[NUM_DRIVES][DOS_DIR_LENGTH];
 static PBYTE InDos;
 
 static CHAR CurrentDirectories[NUM_DRIVES][DOS_DIR_LENGTH];
 static PBYTE InDos;