1
0
Fork 0

Fix to use the new parameterblock

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@387
This commit is contained in:
Sjoerd van der Berg 2002-10-20 14:05:23 +00:00
parent 311f87dcb4
commit c197b1e6eb

View file

@ -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);