From 799757132fee6635e6351353d092105f8e4e834b Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 23 Nov 2010 18:15:45 +0000 Subject: MOHAWK: Remove the no longer needed RLE8 hack svn-id: r54430 --- engines/mohawk/bitmap.cpp | 4 ---- 1 file changed, 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; -- cgit v1.2.3