diff options
author | Travis Howell | 2006-05-03 04:39:31 +0000 |
---|---|---|
committer | Travis Howell | 2006-05-03 04:39:31 +0000 |
commit | a431bec1d828d0f5ec054af5aac939b3c7385407 (patch) | |
tree | 510942d1cecfeee3e75587995393d2816f9def41 /engines | |
parent | afb5f5d5ab6906b786afabff42a84287f23dc305 (diff) | |
download | scummvm-rg350-a431bec1d828d0f5ec054af5aac939b3c7385407.tar.gz scummvm-rg350-a431bec1d828d0f5ec054af5aac939b3c7385407.tar.bz2 scummvm-rg350-a431bec1d828d0f5ec054af5aac939b3c7385407.zip |
Read correct offset in loadIconData()
svn-id: r22291
Diffstat (limited to 'engines')
-rw-r--r-- | engines/simon/icons.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/simon/icons.cpp b/engines/simon/icons.cpp index 887bc35bbb..7c34578066 100644 --- a/engines/simon/icons.cpp +++ b/engines/simon/icons.cpp @@ -50,12 +50,7 @@ void SimonEngine::loadIconData() { loadZone(8); VgaPointersEntry *vpe = &_vgaBufferPointers[8]; - // FIXME: For reasons unknown, the first 16 bytes are not part of the - // actual image data. This could be an indication of some deeper - // problem elsewhere. For now, adding 16 fixes the drawing of the - // Oracle icon. - - byte *src = vpe->vgaFile2 + 16; + byte *src = vpe->vgaFile2 + READ_LE_UINT32(vpe->vgaFile2 + 8); _iconFilePtr = (byte *)malloc(43 * 336); if (_iconFilePtr == NULL) |