aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;