[Scummvm-cvs-logs] CVS: scummvm/sword1 control.cpp,1.61.2.5,1.61.2.6

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sat Nov 12 07:28:01 CET 2005


Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31384

Modified Files:
      Tag: branch-0-8-0
	control.cpp 
Log Message:
Backported fix to stop looping sounds when showing a control panel.


Index: control.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/control.cpp,v
retrieving revision 1.61.2.5
retrieving revision 1.61.2.6
diff -u -d -r1.61.2.5 -r1.61.2.6
--- control.cpp	12 Nov 2005 09:17:03 -0000	1.61.2.5
+++ control.cpp	12 Nov 2005 15:27:08 -0000	1.61.2.6
@@ -234,6 +234,7 @@
 	_screenBuf = (uint8*)malloc(640 * 480);
 	memset(_screenBuf, 0, 640 * 480);
 	_system->copyRectToScreen(_screenBuf, 640, 0, 0, 640, 480);
+	_sound->quitScreen();
 
 	uint32 fontId = SR_FONT, redFontId = SR_REDFONT;
 	if (SwordEngine::_systemVars.language == BS1_CZECH) {





More information about the Scummvm-git-logs mailing list