mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +00:00
[NTVDM]
Report the correct number of paragraphs in the PSP of a COM program. svn path=/branches/ntvdm/; revision=60958
This commit is contained in:
parent
92d4dd2b64
commit
1ff6bc0f8f
|
@ -1194,7 +1194,7 @@ BOOLEAN DosCreateProcess(LPCSTR CommandLine, WORD EnvBlock)
|
|||
/* Initialize the PSP */
|
||||
DosInitializePsp(Segment,
|
||||
CommandLine,
|
||||
(WORD)((FileSize + sizeof(DOS_PSP)) >> 4),
|
||||
MaxAllocSize,
|
||||
EnvBlock);
|
||||
|
||||
/* Set the initial segment registers */
|
||||
|
|
Loading…
Reference in a new issue