Ticket #8028: dottsound.diff

File dottsound.diff, 731 bytes (added by eriktorbjorn, 22 years ago)

Patch against an August 28 CVS snapshot (after scummvm-new was removed)

  • scummvm/sound/sound.cpp

    diff -ur ScummVM-cvs20020828/scummvm/sound/sound.cpp ScummVM-cvs20020828+hack/scummvm/sound/sound.cpp
    old new  
    650650        int rate, comp;
    651651        byte *data;
    652652
     653        // Day of the Tentacle frequently assumes that starting one sound
     654        // effect will automatically stop any other that may be playing at
     655        // the time. Do any other games need this? Should it be made into a
     656        // config option?
     657
     658        if (_scumm->_gameId == GID_TENTACLE)
     659                stopSfxSound();
     660
    653661#ifdef COMPRESSED_SOUND_FILE
    654662        if (file_size > 0) {
    655663                data = (byte *)calloc(file_size + MAD_BUFFER_GUARD, 1);