mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user