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:
parent
ff18ffe314
commit
40e2a1507a
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue