correction: V2 mask decompression works 100% correct. We just ignore it.

svn-id: r7430
This commit is contained in:
Max Horn 2003-05-11 11:27:19 +00:00
parent e5f8056d88
commit b2f22cabf7

View File

@ -992,8 +992,7 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int width, c
}
}
if (left <= theX && theX < right) {
dst -= _vm->_screenWidth * height;
dst++;
dst -= height * _vm->_screenWidth - 1;
}
}
@ -1013,7 +1012,7 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int width, c
theY++;
if (theY >= height) {
if (left <= theX && theX < right) {
mask_ptr -= _numStrips * height - 1;
mask_ptr -= height * _numStrips - 1;
}
theY = 0;
theX += 8;