diff options
-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) |