https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6a4ca215ab5472221dfa6…
commit 6a4ca215ab5472221dfa6150be949c6328112b5e
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Mon Nov 22 03:08:30 2021 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Nov 22 03:10:14 2021 +0100
[NTVDM] Log the command line used when starting NTVDM.
---
subsystems/mvdm/ntvdm/ntvdm.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/subsystems/mvdm/ntvdm/ntvdm.c b/subsystems/mvdm/ntvdm/ntvdm.c
index 4e5cd99a1c0..d7e88cb20ad 100644
--- a/subsystems/mvdm/ntvdm/ntvdm.c
+++ b/subsystems/mvdm/ntvdm/ntvdm.c
@@ -506,11 +506,15 @@ wmain(INT argc, WCHAR *argv[])
}
#endif
+ DPRINT1("\n\n\n"
+ "NTVDM - Starting...\n"
+ "Command Line: '%s'\n"
+ "\n\n",
+ GetCommandLineA());
+
/* Load the global VDM settings */
LoadGlobalSettings(&GlobalSettings);
- DPRINT1("\n\n\nNTVDM - Starting...\n\n\n");
-
/* Initialize the console */
if (!ConsoleInit())
{