aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/view.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-02-08 15:03:23 +0000
committerMatthew Hoops2011-02-08 15:03:23 +0000
commit85f8dc5dee6fbe78fc5cd30094205cf2ed259fec (patch)
tree5ba8a77a5fed4c5f8484d3d3925e3146eeba3fc6 /engines/sci/graphics/view.cpp
parent8f3324f6ba648381953bd5538a0f1aa1507da480 (diff)
downloadscummvm-rg350-85f8dc5dee6fbe78fc5cd30094205cf2ed259fec.tar.gz
scummvm-rg350-85f8dc5dee6fbe78fc5cd30094205cf2ed259fec.tar.bz2
scummvm-rg350-85f8dc5dee6fbe78fc5cd30094205cf2ed259fec.zip
SCI: Add detection for Freddy Pharkas Mac
svn-id: r55828
Diffstat (limited to 'engines/sci/graphics/view.cpp')
-rw-r--r--engines/sci/graphics/view.cpp6
1 files changed, 3 insertions, 3 deletions
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) {