Ticket #9037: scummvm-sci-musicfix.patch
File scummvm-sci-musicfix.patch, 807 bytes (added by , 16 years ago) |
---|
-
core.cpp
37 37 38 38 #include "common/system.h" 39 39 #include "common/timer.h" 40 #include "common/mutex.h" 40 41 41 42 #include "sound/audiostream.h" 42 43 #include "sound/mixer.h" … … 551 552 ** songs which are no longer 552 553 ** active. */ 553 554 555 // We need to be left alone in here :) 556 Common::StackLock lock(_mutex); 557 554 558 /* _dump_playing_list(this, "before");*/ 555 559 freezeTime(); /* Store song delay time */ 556 560 -
core.h
188 188 uint16 _audioRate; 189 189 Audio::SoundHandle _audioHandle; 190 190 Audio::AudioStream* getAudioStream(uint32 number, uint32 volume, int *sampleLen); 191 Common::Mutex _mutex; 191 192 }; 192 193 193 194 } // End of namespace Sci