Fix icons palette in AGA/CD32 versions of Simon the Sorcerer 1.

svn-id: r25509
This commit is contained in:
Travis Howell 2007-02-12 04:58:49 +00:00
parent 2c0c7a8e17
commit 9315ccbdc1

View File

@ -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]);