aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2007-02-12 04:58:49 +0000
committerTravis Howell2007-02-12 04:58:49 +0000
commit9315ccbdc152a808383379009f073fd817876b57 (patch)
tree24e4905bd76500cbf13e0ce08a75b228cba6629f /engines
parent2c0c7a8e1779826dc2122744c105d5a443256579 (diff)
downloadscummvm-rg350-9315ccbdc152a808383379009f073fd817876b57.tar.gz
scummvm-rg350-9315ccbdc152a808383379009f073fd817876b57.tar.bz2
scummvm-rg350-9315ccbdc152a808383379009f073fd817876b57.zip
Fix icons palette in AGA/CD32 versions of Simon the Sorcerer 1.
svn-id: r25509
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/icons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/icons.cpp b/engines/agos/icons.cpp
index 3bb7153065..1909f5f962 100644
--- a/engines/agos/icons.cpp
+++ b/engines/agos/icons.cpp
@@ -193,7 +193,7 @@ void AGOSEngine::drawIcon(WindowBlock *window, uint icon, uint x, uint y) {
if (getPlatform() == Common::kPlatformAmiga) {
src = _iconFilePtr;
src += READ_BE_UINT32(&((uint32 *)src)[icon]);
- decompressIconAmiga(dst, src, 24, 24, 16, _dxSurfacePitch);
+ decompressIconAmiga(dst, src, 24, 24, 240, _dxSurfacePitch);
} else {
src = _iconFilePtr;
src += READ_LE_UINT16(&((uint16 *)src)[icon]);