aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
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;
}