From 55fee6d97b3739eeac70429b1083420f875025b9 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 18 Dec 2012 02:24:07 +0200 Subject: TINSEL: Enhanced music is not supported in the Mac version of DW1 Also, did some minor whitespace formatting --- engines/tinsel/detection_tables.h | 2 +- engines/tinsel/graphics.cpp | 2 -- 2 files changed, 1 insertion(+), 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(copyBytes, leftClip); leftClip -= clipAmount; x += clipAmount; - srcP += clipAmount; int runLength = copyBytes - clipAmount; -- cgit v1.2.3