[Scummvm-cvs-logs] scummvm master -> 521d2e299f72bf3670092d7b09cb3f6f51682853
sev-
sev at scummvm.org
Tue Jun 21 21:27:03 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
521d2e299f GRAPHICS: Use better color for 1bpp BMPs
Commit: 521d2e299f72bf3670092d7b09cb3f6f51682853
https://github.com/scummvm/scummvm/commit/521d2e299f72bf3670092d7b09cb3f6f51682853
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-06-21T21:26:40+02:00
Commit Message:
GRAPHICS: Use better color for 1bpp BMPs
Changed paths:
image/codecs/bmp_raw.cpp
diff --git a/image/codecs/bmp_raw.cpp b/image/codecs/bmp_raw.cpp
index 0dc1e9f..68d70f2 100644
--- a/image/codecs/bmp_raw.cpp
+++ b/image/codecs/bmp_raw.cpp
@@ -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) {
More information about the Scummvm-git-logs
mailing list