mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
Merge pull request #67 from rakslice/mode_switching_fix
Fix for uninitialized value causing Quicktime image rendering to sometimes fail after mode changes
This commit is contained in:
commit
d0b3dcd623
@ -879,6 +879,7 @@ static int16 VideoStatus(uint32 pb, VidLocals *csSave)
|
|||||||
WriteMacInt16(vpb + vpVersion, 0); // Pixel Map version number
|
WriteMacInt16(vpb + vpVersion, 0); // Pixel Map version number
|
||||||
WriteMacInt16(vpb + vpPackType, 0);
|
WriteMacInt16(vpb + vpPackType, 0);
|
||||||
WriteMacInt32(vpb + vpPackSize, 0);
|
WriteMacInt32(vpb + vpPackSize, 0);
|
||||||
|
WriteMacInt32(vpb + vpPlaneBytes, 0);
|
||||||
WriteMacInt32(vpb + vpHRes, 0x00480000); // horiz res of the device (ppi)
|
WriteMacInt32(vpb + vpHRes, 0x00480000); // horiz res of the device (ppi)
|
||||||
WriteMacInt32(vpb + vpVRes, 0x00480000); // vert res of the device (ppi)
|
WriteMacInt32(vpb + vpVRes, 0x00480000); // vert res of the device (ppi)
|
||||||
switch (VModes[i].viAppleMode) {
|
switch (VModes[i].viAppleMode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user