[Scummvm-cvs-logs] SF.net SVN: scummvm:[51039] scummvm/trunk/engines/sci/sound/soundcmd.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue Jul 20 00:11:06 CEST 2010


Revision: 51039
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51039&view=rev
Author:   m_kiewitz
Date:     2010-07-19 22:11:06 +0000 (Mon, 19 Jul 2010)

Log Message:
-----------
SCI: disabling kDoSound(StopAll)

this call can't be right, gets called in kq1 several times and would stop background effects

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sound/soundcmd.cpp

Modified: scummvm/trunk/engines/sci/sound/soundcmd.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/soundcmd.cpp	2010-07-19 21:12:17 UTC (rev 51038)
+++ scummvm/trunk/engines/sci/sound/soundcmd.cpp	2010-07-19 22:11:06 UTC (rev 51039)
@@ -497,6 +497,11 @@
 }
 
 reg_t SoundCommandParser::kDoSoundStopAll(int argc, reg_t *argv, reg_t acc) {
+	// TODO: this can't be right, this gets called in kq1 - e.g. being in witch house, getting the note
+	//  now the point jingle plays and after a messagebox they call this - and would stop the background effects with it
+	//  this doesn't make sense, so i disable it for now
+	return acc;
+
 	Common::StackLock(_music->_mutex);
 
 	const MusicList::iterator end = _music->getPlayListEnd();


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