Small fix to psp class to set correct value for next segment
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@405
This commit is contained in:
parent
dedc199628
commit
e3a5b55666
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ void DOS_PSP::MakeNew(Bit16u mem_size)
|
|||
Bitu i;
|
||||
for (i=0;i<sizeof(sPSP);i++) mem_writeb(pt+i,0);
|
||||
// Set 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