1
0
Fork 0

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:
Sjoerd van der Berg 2002-10-24 22:08:52 +00:00
parent dedc199628
commit e3a5b55666

View file

@ -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