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:
parent
311f87dcb4
commit
c197b1e6eb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue