initialize vpPlaneBytes in GetVideoParameters response

(cherry picked from commit bf128df83fee799d1b36f0968bd78980dd2ffdc2)
This commit is contained in:
rakslice 2020-11-17 03:59:40 -08:00
parent b1a7f71ef4
commit af8e91f446
1 changed files with 1 additions and 0 deletions

View File

@ -879,6 +879,7 @@ static int16 VideoStatus(uint32 pb, VidLocals *csSave)
WriteMacInt16(vpb + vpVersion, 0); // Pixel Map version number
WriteMacInt16(vpb + vpPackType, 0);
WriteMacInt32(vpb + vpPackSize, 0);
WriteMacInt32(vpb + vpPlaneBytes, 0);
WriteMacInt32(vpb + vpHRes, 0x00480000); // horiz res of the device (ppi)
WriteMacInt32(vpb + vpVRes, 0x00480000); // vert res of the device (ppi)
switch (VModes[i].viAppleMode) {