Ticket #9150: deref.patch
File deref.patch, 653 bytes (added by , 15 years ago) |
---|
-
engines/scumm/gfx.cpp
2782 2782 decodePCEngineMaskData(_vm->findResourceData(MKID_BE('ZP00'), room)); 2783 2783 2784 2784 const byte* smap_ptr = _vm->findResourceData(MKID_BE('IM00'), room); 2785 *smap_ptr++; // roomID2785 smap_ptr++; // roomID 2786 2786 int numStrips = *smap_ptr++; 2787 2787 int numRows = *smap_ptr++; 2788 2788 _PCE.maskIDSize = *smap_ptr++; 2789 *smap_ptr++; // unknown2789 smap_ptr++; // unknown 2790 2790 2791 2791 memset(_PCE.nametable, 0, sizeof(_PCE.nametable)); 2792 2792 memset(_PCE.colortable, 0, sizeof(_PCE.colortable));