From 85f8dc5dee6fbe78fc5cd30094205cf2ed259fec Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 8 Feb 2011 15:03:23 +0000 Subject: SCI: Add detection for Freddy Pharkas Mac svn-id: r55828 --- engines/sci/graphics/view.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sci/graphics/view.cpp') diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp index 5726057a69..0c43fef270 100644 --- a/engines/sci/graphics/view.cpp +++ b/engines/sci/graphics/view.cpp @@ -456,10 +456,10 @@ void GfxView::unpackCel(int16 loopNo, int16 celNo, byte *outPtr, uint32 pixelCou literalPtr = _resourceData + celInfo->offsetLiteral; if (celInfo->offsetRLE) { if (g_sci->getPlatform() == Common::kPlatformMacintosh && getSciVersion() == SCI_VERSION_1_1) { - // KQ6 uses byte lengths, all others use uint16 - // The SCI devs must have quickly realized that a max of 255 pixels wide + // KQ6/Freddy Pharkas use byte lengths, all others use uint16 + // The SCI devs must have realized that a max of 255 pixels wide // was not very good for 320 or 640 width games. - bool hasByteLengths = (g_sci->getGameId() == GID_KQ6); + bool hasByteLengths = (g_sci->getGameId() == GID_KQ6 || g_sci->getGameId() == GID_FREDDYPHARKAS); // compression for SCI1.1+ Mac while (pixelNo < pixelCount) { -- cgit v1.2.3