[Scummvm-cvs-logs] SF.net SVN: scummvm:[49735] scummvm/trunk/engines/agi/sound.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Jun 15 12:28:40 CEST 2010


Revision: 49735
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49735&view=rev
Author:   sev
Date:     2010-06-15 10:28:40 +0000 (Tue, 15 Jun 2010)

Log Message:
-----------
AGI: Fix bug #2960584.

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

Modified Paths:
--------------
    scummvm/trunk/engines/agi/sound.cpp

Modified: scummvm/trunk/engines/agi/sound.cpp
===================================================================
--- scummvm/trunk/engines/agi/sound.cpp	2010-06-15 10:28:21 UTC (rev 49734)
+++ scummvm/trunk/engines/agi/sound.cpp	2010-06-15 10:28:40 UTC (rev 49735)
@@ -411,6 +411,8 @@
 
 	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++)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list