From fce0e8c45b53018e5c9a2cab38c02a782872f22b Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 19 Mar 2012 21:54:37 -0400 Subject: GRAPHICS: Fix PICT 16bpp --- graphics/decoders/pict.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/decoders') diff --git a/graphics/decoders/pict.cpp b/graphics/decoders/pict.cpp index f8b2553ea0..4c21cffe38 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 -- cgit v1.2.3