aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2010-10-14 18:19:51 +0000
committerEugene Sandulenko2010-10-14 18:19:51 +0000
commitea5bf685fc5c942be2292223c4af17998b18d8b6 (patch)
treedeef0453b196fddfa3dfa0ddd84621f29b3dc09f
parent7c2254589937d9f35d4779c270c9ef6f426e4b73 (diff)
downloadscummvm-rg350-ea5bf685fc5c942be2292223c4af17998b18d8b6.tar.gz
scummvm-rg350-ea5bf685fc5c942be2292223c4af17998b18d8b6.tar.bz2
scummvm-rg350-ea5bf685fc5c942be2292223c4af17998b18d8b6.zip
SCUMM: Fix bug #2952298 with 16-bit HE cursors on Amiga
Bug #2952298: "HE (16Bit): Inventory items (Cursors) have wrong color" This appeared to be generic BE bug. Thanks to jvprat for nailing it down and providing the patch. svn-id: r53456
-rw-r--r--engines/scumm/he/wiz_he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index 361a3bc165..e460673380 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -363,7 +363,7 @@ void Wiz::writeColor(uint8 *dstPtr, int dstType, uint16 color) {
break;
case kDstMemory:
case kDstResource:
- WRITE_LE_UINT16(dstPtr, color);
+ WRITE_UINT16(dstPtr, color);
break;
default:
error("writeColor: Unknown dstType %d", dstType);