aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorAndre Heider2009-08-22 09:22:23 +0000
committerAndre Heider2009-08-22 09:22:23 +0000
commit6c6ae69f3dab59fc8be948463367c615f9acd7e2 (patch)
tree1b42c98f30dc857add0db60640c790a81066057a /engines/scumm
parent5b2a1a766212d44ef4bc7329bd2e59f9f7f0b5ce (diff)
downloadscummvm-rg350-6c6ae69f3dab59fc8be948463367c615f9acd7e2.tar.gz
scummvm-rg350-6c6ae69f3dab59fc8be948463367c615f9acd7e2.tar.bz2
scummvm-rg350-6c6ae69f3dab59fc8be948463367c615f9acd7e2.zip
Fixed cursor transparency for 16bit HE games on big endian architectures
svn-id: r43632
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/wiz_he.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index 91ce9182cd..5280dc097f 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -1504,7 +1504,7 @@ uint8 *Wiz::drawWizImage(int resNum, int state, int maskNum, int maskState, int
uint8 *tmpPtr = dst;
for (uint i = 0; i < height; i++) {
for (uint j = 0; j < width; j++)
- WRITE_LE_UINT16(tmpPtr + j * 2, transColor);
+ WRITE_UINT16(tmpPtr + j * 2, transColor);
tmpPtr += width * 2;
}
} else {
@@ -1750,7 +1750,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_LE_UINT16(tmpPtr + j * 2, transColor);
+ WRITE_UINT16(tmpPtr + j * 2, transColor);
tmpPtr += dstpitch;
}
} else {
@@ -1967,7 +1967,7 @@ void Wiz::drawWizPolygonImage(uint8 *dst, const uint8 *src, const uint8 *mask, i
y_acc += pra->y_step;
if (bitDepth == 2) {
if (transColor == -1 || transColor != READ_LE_UINT16(src + src_offs * 2)) {
- //if (transColor == -1 || READ_LE_UINT16(dstPtr) != transColor)
+ //if (transColor == -1 || READ_UINT16(dstPtr) != transColor)
writeColor(dstPtr, dstType, READ_LE_UINT16(src + src_offs * 2));
}
} else {