correct saving of next paragraph in new_psp
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@274
This commit is contained in:
parent
ec35911b9c
commit
9376ece0e6
1 changed files with 2 additions and 2 deletions
|
@ -194,13 +194,13 @@ void DOS_PSP::NewPt(Bit16u segment)
|
|||
|
||||
void DOS_PSP::MakeNew(Bit16u mem_size)
|
||||
{
|
||||
/* get previous */
|
||||
/* get previous */
|
||||
DOS_PSP prevpsp(dos.psp);
|
||||
/* Clear it first */
|
||||
for (Bitu i=0;i<sizeof(sPSP);i++) mem_writeb(pt+i,0);
|
||||
// Set size
|
||||
// SaveIt(((sPSP*)Phys2Host(pt))->next_seg,0,mem_size);
|
||||
sSave(sPSP,next_seg,mem_size);
|
||||
sSave(sPSP,next_seg,seg+mem_size);
|
||||
/* far call opcode */
|
||||
sSave(sPSP,far_call,0xea);
|
||||
// sSave(sPSP,cmp_entry
|
||||
|
|
Loading…
Add table
Reference in a new issue