[NTVDM]: hardcoded_values--;

svn path=/trunk/; revision=67604
This commit is contained in:
Hermès Bélusca-Maïto 2015-05-08 23:47:33 +00:00
parent cd1046dd75
commit 464ff78f4e

View file

@ -358,7 +358,7 @@ PDOS_DEVICE_NODE DosCreateDeviceEx(WORD Attributes, PCHAR DeviceName, WORD Priva
}
/* Create a driver header for this device */
Segment = DosAllocateMemory(sizeof(DOS_DRIVER) + 10 + PrivateDataSize, NULL);
Segment = DosAllocateMemory(sizeof(DOS_DRIVER) + DEVICE_CODE_SIZE + PrivateDataSize, NULL);
if (Segment == 0) return NULL;
/* Fill the header with data */