Set correct size while making child psp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1386
This commit is contained in:
parent
166b944fc9
commit
66e76bc0d5
1 changed files with 1 additions and 0 deletions
|
@ -185,6 +185,7 @@ bool DOS_ChildPSP(Bit16u segment, Bit16u size)
|
|||
psp.MakeNew(size);
|
||||
DOS_PSP psp_parent(psp.GetParent());
|
||||
psp.CopyFileTable(&psp_parent,true);
|
||||
psp.SetSize(size);
|
||||
return true;
|
||||
};
|
||||
static void SetupPSP(Bit16u pspseg,Bit16u memsize,Bit16u envseg) {
|
||||
|
|
Loading…
Add table
Reference in a new issue