aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2012-12-18 02:24:07 +0200
committerFilippos Karapetis2012-12-18 02:24:46 +0200
commit55fee6d97b3739eeac70429b1083420f875025b9 (patch)
treee4efc4149ed7d3e4dbf3d5d4f4810500f94d86a0
parent79eb6c898a704f2e41855893643ff3b3aa0bb287 (diff)
downloadscummvm-rg350-55fee6d97b3739eeac70429b1083420f875025b9.tar.gz
scummvm-rg350-55fee6d97b3739eeac70429b1083420f875025b9.tar.bz2
scummvm-rg350-55fee6d97b3739eeac70429b1083420f875025b9.zip
TINSEL: Enhanced music is not supported in the Mac version of DW1
Also, did some minor whitespace formatting
-rw-r--r--engines/tinsel/detection_tables.h2
-rw-r--r--engines/tinsel/graphics.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/engines/tinsel/detection_tables.h b/engines/tinsel/detection_tables.h
index 4762acfe2c..f6b1487561 100644
--- a/engines/tinsel/detection_tables.h
+++ b/engines/tinsel/detection_tables.h
@@ -490,7 +490,7 @@ static const TinselGameDescription gameDescriptions[] = {
},
GID_DW1,
0,
- GF_SCNFILES | GF_ENHANCED_AUDIO_SUPPORT,
+ GF_SCNFILES,
TINSEL_V1,
},
diff --git a/engines/tinsel/graphics.cpp b/engines/tinsel/graphics.cpp
index 91dfd76b98..b917775360 100644
--- a/engines/tinsel/graphics.cpp
+++ b/engines/tinsel/graphics.cpp
@@ -248,7 +248,6 @@ static void MacDrawTiles(DRAWOBJECT *pObj, uint8 *srcP, uint8 *destP, bool apply
// Repeat of a given color
byte color = *srcP++;
int runLength = repeatBytes - clipAmount;
-
int rptLength = MAX(MIN(runLength, pObj->width - rightClip - x), 0);
if (yClip == 0) {
if (color != 0)
@@ -264,7 +263,6 @@ static void MacDrawTiles(DRAWOBJECT *pObj, uint8 *srcP, uint8 *destP, bool apply
uint clipAmount = MIN<int>(copyBytes, leftClip);
leftClip -= clipAmount;
x += clipAmount;
-
srcP += clipAmount;
int runLength = copyBytes - clipAmount;