[Scummvm-cvs-logs] CVS: scummvm/sword2 sound.h,1.13,1.14

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Mon Feb 7 02:53:47 CET 2005


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

Modified Files:
	sound.h 
Log Message:
Fixed crash that would happen if the game tried to play music from CD1 and
CD2 at the same time. There will eventually be a better fix for this, I
hope.


Index: sound.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/sound.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- sound.h	28 Jan 2005 22:05:51 -0000	1.13
+++ sound.h	7 Feb 2005 10:51:46 -0000	1.14
@@ -126,6 +126,8 @@
 	bool isStereo() const	{ return _decoder->isStereo(); }
 	int getRate() const	{ return _decoder->getRate(); }
 
+	int whichCd()		{ return _cd; }
+
 	void fadeUp();
 	void fadeDown();
 





More information about the Scummvm-git-logs mailing list