[Scummvm-cvs-logs] scummvm master -> 45dc303159d5bbe77a351df31e6f2d2f97a3412d
Kirben
kirben at optusnet.com.au
Mon Aug 8 01:53:59 CEST 2011
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:
45dc303159 SCUMM: Fix endian issue in captureWizPolygon.
Commit: 45dc303159d5bbe77a351df31e6f2d2f97a3412d
https://github.com/scummvm/scummvm/commit/45dc303159d5bbe77a351df31e6f2d2f97a3412d
Author: Travis Howell (kirben at optusnet.com.au)
Date: 2011-08-07T16:48:31-07:00
Commit Message:
SCUMM: Fix endian issue in captureWizPolygon.
Changed paths:
engines/scumm/he/wiz_he.cpp
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index 4107034..f67922c 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -1755,7 +1755,7 @@ void Wiz::captureWizPolygon(int resNum, int maskNum, int maskState, int id1, int
uint8 *tmpPtr = imageBuffer;
for (i = 0; i < dsth; i++) {
for (j = 0; j < dstw; j++)
- WRITE_UINT16(tmpPtr + j * 2, transColor);
+ WRITE_LE_UINT16(tmpPtr + j * 2, transColor);
tmpPtr += dstpitch;
}
} else {
More information about the Scummvm-git-logs
mailing list