Fixed a warning in gcc.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@434
This commit is contained in:
parent
d5d60cdba5
commit
57510618cf
1 changed files with 2 additions and 1 deletions
|
@ -165,7 +165,8 @@ bool DOS_NewPSP(Bit16u segment, Bit16u size)
|
|||
{
|
||||
DOS_PSP psp(segment);
|
||||
psp.MakeNew(size);
|
||||
psp.CopyFileTable(&DOS_PSP(psp.GetParent()));
|
||||
DOS_PSP psp_parent(psp.GetParent());
|
||||
psp.CopyFileTable(&psp_parent);
|
||||
return true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue