From c197b1e6eb076ba819d7901f6025a0970b3add35 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Sun, 20 Oct 2002 14:05:23 +0000 Subject: [PATCH] Fix to use the new parameterblock Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@387 --- src/shell/shell_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/shell_misc.cpp b/src/shell/shell_misc.cpp index 53289223..c300d8ba 100644 --- a/src/shell/shell_misc.cpp +++ b/src/shell/shell_misc.cpp @@ -165,7 +165,7 @@ void DOS_Shell::Execute(char * name,char * args) { /* Copy command line in stack block too */ MEM_BlockWrite(SegPhys(ss)+reg_sp+0x100,&cmd,128); /* Set the command line in the block and save it */ - block.data.exec.cmdtail=RealMakeSeg(ss,reg_sp+0x100); + block.exec.cmdtail=RealMakeSeg(ss,reg_sp+0x100); block.SaveData(); /* Save CS:IP to some point where i can return them from */ RealPt newcsip=CALLBACK_RealPointer(call_shellstop);