From af8e91f446fa9e1b9e0f5c91fe556e0191549d3e Mon Sep 17 00:00:00 2001 From: rakslice Date: Tue, 17 Nov 2020 03:59:40 -0800 Subject: [PATCH] initialize vpPlaneBytes in GetVideoParameters response (cherry picked from commit bf128df83fee799d1b36f0968bd78980dd2ffdc2) --- SheepShaver/src/video.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SheepShaver/src/video.cpp b/SheepShaver/src/video.cpp index 330a7051..66fecb8d 100644 --- a/SheepShaver/src/video.cpp +++ b/SheepShaver/src/video.cpp @@ -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) {