1
0
Fork 0

fixed the scope of Bitu i

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@302
This commit is contained in:
Peter Veenstra 2002-09-25 12:09:41 +00:00
parent 3b7889413a
commit 90dc9815bd

View file

@ -196,8 +196,9 @@ void DOS_PSP::MakeNew(Bit16u mem_size)
{
/* get previous */
DOS_PSP prevpsp(dos.psp);
/* Clear it first */
for (Bitu i=0;i<sizeof(sPSP);i++) mem_writeb(pt+i,0);
/* Clear it first */
Bitu i;
for (i=0;i<sizeof(sPSP);i++) mem_writeb(pt+i,0);
// Set size
sSave(sPSP,next_seg,mem_size);
/* far call opcode */