aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-12-21 20:40:55 +0000
committerPaweł Kołodziejski2002-12-21 20:40:55 +0000
commitde8f5477af1ed0b11e79023bdecd1c818a6229f9 (patch)
treed55dcacf3731b357e118163afecbf792f1e06dcd /scumm
parent7bc67c1a027efd6f479f711d60a0658e291d2cc8 (diff)
downloadscummvm-rg350-de8f5477af1ed0b11e79023bdecd1c818a6229f9.tar.gz
scummvm-rg350-de8f5477af1ed0b11e79023bdecd1c818a6229f9.tar.bz2
scummvm-rg350-de8f5477af1ed0b11e79023bdecd1c818a6229f9.zip
added dummy code: handle codec37 flag bit 1 (error report for now)
svn-id: r6048
Diffstat (limited to 'scumm')
-rw-r--r--scumm/smush/codec37.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/smush/codec37.cpp b/scumm/smush/codec37.cpp
index c0e1b7c771..75197ca839 100644
--- a/scumm/smush/codec37.cpp
+++ b/scumm/smush/codec37.cpp
@@ -471,7 +471,11 @@ bool Codec37Decoder::decode(Blitter & dst, Chunk & src) {
#endif
break;
}
- dst.blit((byte *)_deltaBufs[_curtable], width * height);
+ if(mask_flag & 2) {
+ error("smush:codec37 missing transparent_blitting");
+ } else {
+ dst.blit((byte *)_deltaBufs[_curtable], width * height);
+ }
_prevSeqNb = seq_nb;
return true;
}