aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorMatthew Hoops2010-11-23 18:15:45 +0000
committerMatthew Hoops2010-11-23 18:15:45 +0000
commit799757132fee6635e6351353d092105f8e4e834b (patch)
tree806c4f63f8996185916c5e197e13e02917150eab /engines/mohawk
parentd438b739cf7c3a71627eae58bcf19d8fb5ad9828 (diff)
downloadscummvm-rg350-799757132fee6635e6351353d092105f8e4e834b.tar.gz
scummvm-rg350-799757132fee6635e6351353d092105f8e4e834b.tar.bz2
scummvm-rg350-799757132fee6635e6351353d092105f8e4e834b.zip
MOHAWK: Remove the no longer needed RLE8 hack
svn-id: r54430
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/bitmap.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/mohawk/bitmap.cpp b/engines/mohawk/bitmap.cpp
index ec38a4261f..1f738f80a1 100644
--- a/engines/mohawk/bitmap.cpp
+++ b/engines/mohawk/bitmap.cpp
@@ -564,10 +564,6 @@ void MohawkBitmap::drawRLE8(Graphics::Surface *surface) {
byte *dst = (byte *)surface->pixels + i * _header.width;
int16 remaining = _header.width;
- // HACK: It seems only the bottom 9 bits are valid for images
- // TODO: Verify if this is still needed after the buffer clearing fix.
- rowByteCount &= 0x1ff;
-
while (remaining > 0) {
byte code = _data->readByte();
uint16 runLen = (code & 0x7F) + 1;