[Scummvm-cvs-logs] scummvm master -> fce0e8c45b53018e5c9a2cab38c02a782872f22b

clone2727 clone2727 at gmail.com
Tue Mar 20 02:58:07 CET 2012


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:
fce0e8c45b GRAPHICS: Fix PICT 16bpp


Commit: fce0e8c45b53018e5c9a2cab38c02a782872f22b
    https://github.com/scummvm/scummvm/commit/fce0e8c45b53018e5c9a2cab38c02a782872f22b
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2012-03-19T18:54:37-07:00

Commit Message:
GRAPHICS: Fix PICT 16bpp

Changed paths:
    graphics/decoders/pict.cpp



diff --git a/graphics/decoders/pict.cpp b/graphics/decoders/pict.cpp
index f8b2553..4c21cff 100644
--- a/graphics/decoders/pict.cpp
+++ b/graphics/decoders/pict.cpp
@@ -365,7 +365,7 @@ void PICTDecoder::unpackBitsRect(Common::SeekableReadStream &stream, bool hasPal
 		_outputSurface->create(width, height, PixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0));
 		for (uint16 y = 0; y < _outputSurface->h; y++)
 			for (uint16 x = 0; x < _outputSurface->w; x++)
-				WRITE_UINT16(_outputSurface->getBasePtr(x, y), READ_BE_UINT16(buffer + (y * _outputSurface->w + x) * 2));
+				WRITE_UINT16(_outputSurface->getBasePtr(x, y), READ_UINT16(buffer + (y * _outputSurface->w + x) * 2));
 		break;
 	case 3:
 		// Convert from 24-bit (planar!) to whatever surface we need






More information about the Scummvm-git-logs mailing list