From 9315ccbdc152a808383379009f073fd817876b57 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 12 Feb 2007 04:58:49 +0000 Subject: Fix icons palette in AGA/CD32 versions of Simon the Sorcerer 1. svn-id: r25509 --- engines/agos/icons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agos/icons.cpp') 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]); -- cgit v1.2.3