Ticket #9400: bug_3280674_fix.patch

File bug_3280674_fix.patch, 566 bytes (added by BenCastricum, 12 years ago)

patch for bug 3280674

  • engines/scumm/compress_scumm_sou.cpp

    diff --git a/engines/scumm/compress_scumm_sou.cpp b/engines/scumm/compress_scumm_sou.cpp
    index d5d20aa..da5af0d 100644
    a b bool CompressScummSou::get_part() {  
    117117                tags--;
    118118        }
    119119
     120        /* The German Sam & Max MONSTER.SOU seems to have a VCTL without an
     121         * associated SOU entry at the end (Bug ID 3280674).
     122         */
     123        if (_input.pos() == _file_size)
     124                return false;
     125
    120126        _input.read_throwsOnError(buf, 8);
    121127        if (!memcmp(buf, "Creative", 8))
    122128                _input.seek(18, SEEK_CUR);