From 40e2a1507a67a7c41b61b3a17841a7c1d4cba4ef Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 10 Dec 2003 09:34:21 +0000 Subject: [PATCH] changed dta in dos_Execute fixes: zone66 and unpack Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1478 --- src/dos/dos_execute.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dos/dos_execute.cpp b/src/dos/dos_execute.cpp index 760b3ccd..e1d73073 100644 --- a/src/dos/dos_execute.cpp +++ b/src/dos/dos_execute.cpp @@ -374,7 +374,8 @@ bool DOS_Execute(char * name,PhysPt block_pt,Bit8u flags) { /* Switch the psp's and set new DTA */ dos.psp=pspseg; DOS_PSP newpsp(dos.psp); - dos.dta=newpsp.GetDTA(); + newpsp.SetDTA(dos.dta); /* Original: change this and line below. This way seems better(zone66 and unpack) */ + //dos.dta=newpsp.GetDTA(); /* save vectors */ newpsp.SaveVectors(); /* copy fcbs */