1
0
Fork 0

changed dta in dos_Execute fixes: zone66 and unpack

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1478
This commit is contained in:
Peter Veenstra 2003-12-10 09:34:21 +00:00
parent ff18ffe314
commit 40e2a1507a

View file

@ -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 */