Bug #2960584: "AGI: (Fan) SQ0: Music lost on saving (and loading)".
Actually music did not loop at all. Our looping code was broken.

svn-id: r49735
This commit is contained in:
Eugene Sandulenko 2010-06-15 10:28:40 +00:00
parent 968f959158
commit 4dddfd44ce

View File

@ -411,6 +411,8 @@ void SoundMgr::stopSound() {
debugC(3, kDebugLevelSound, "stopSound() --> %d", _playingSound);
_vm->setflag(_endflag, true);
_endflag = -1;
if (_vm->_soundemu != SOUND_EMU_APPLE2GS) {
for (i = 0; i < NUM_CHANNELS; i++)