mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 05:34:00 +00:00
Fix icons palette in AGA/CD32 versions of Simon the Sorcerer 1.
svn-id: r25509
This commit is contained in:
parent
2c0c7a8e17
commit
9315ccbdc1
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user