aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorMatthew Hoops2011-11-16 17:55:32 -0500
committerMatthew Hoops2011-11-16 17:56:12 -0500
commitba798e250d8e8abef2213425384fa81bec3ff5f6 (patch)
treecfa02e5bd91c8f577ea55c7621c5a1ce6f85c6d6 /engines/sci/graphics
parent81c16d12c8f637890a3a122c31db17cbcb7ee910 (diff)
downloadscummvm-rg350-ba798e250d8e8abef2213425384fa81bec3ff5f6.tar.gz
scummvm-rg350-ba798e250d8e8abef2213425384fa81bec3ff5f6.tar.bz2
scummvm-rg350-ba798e250d8e8abef2213425384fa81bec3ff5f6.zip
SCI: Add support for slater mac
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/view.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp
index e095cde697..a77bcccc52 100644
--- a/engines/sci/graphics/view.cpp
+++ b/engines/sci/graphics/view.cpp
@@ -432,10 +432,11 @@ void unpackCelData(byte *inBuffer, byte *celBitmap, byte clearColor, int pixelCo
// Skip the next YYYYY pixels (i.e. transparency)
if (literalPos && isMacSci11ViewData) {
- // KQ6/Freddy Pharkas use byte lengths, all others use uint16
+ // KQ6/Freddy Pharkas/Slater 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 || g_sci->getGameId() == GID_FREDDYPHARKAS);
+ bool hasByteLengths = (g_sci->getGameId() == GID_KQ6 || g_sci->getGameId() == GID_FREDDYPHARKAS
+ || g_sci->getGameId() == GID_SLATER);
// compression for SCI1.1+ Mac
while (pixelNr < pixelCount) {