GRAPHICS: Use better color for 1bpp BMPs

This commit is contained in:
Eugene Sandulenko 2016-06-17 15:13:48 +02:00
parent 848abbee06
commit 521d2e299f

View file

@ -59,7 +59,7 @@ const Graphics::Surface *BitmapRawDecoder::decodeFrame(Common::SeekableReadStrea
for (int j = 0; j != _width;) {
byte color = stream.readByte();
for (int k = 0; k < 8; k++) {
*dst++ = (color & 0x80) ? 0x01 : 0x00;
*dst++ = (color & 0x80) ? 0x0f : 0x00;
color <<= 1;
j++;
if (j == _width) {