diff options
-rw-r--r-- | engines/sci/graphics/view.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp index 2f351a95c9..990c6e298d 100644 --- a/engines/sci/graphics/view.cpp +++ b/engines/sci/graphics/view.cpp @@ -365,6 +365,21 @@ void GfxView::unpackCel(int16 loopNo, int16 celNo, byte *outPtr, uint32 pixelCou break; } } + // Crazy-Ass mac compression for clone2727 + // uint32 pixelLine; + // while (pixelNo < pixelCount) { + // pixelLine = pixelNo; + // runLength = *rlePtr++; + // pixelNo += runLength; + // runLength = *rlePtr++; + // while (runLength-- && pixelNo < pixelCount) { + // outPtr[pixelNo] = *literalPtr++; + // if (outPtr[pixelNo] == 255) + // outPtr[pixelNo] = 0; + // pixelNo++; + // } + // pixelNo = pixelLine + celInfo->width; + // } } else { // literal stream only, so no compression memcpy(outPtr, literalPtr, pixelCount); |