[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.182,1.183

Travis Howell kirben at users.sourceforge.net
Sun May 18 20:30:11 CEST 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv10551/simon

Modified Files:
	simon.cpp 
Log Message:

Music fix from Jamieson630


Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -d -r1.182 -r1.183
--- simon.cpp	19 May 2003 01:36:04 -0000	1.182
+++ simon.cpp	19 May 2003 03:29:39 -0000	1.183
@@ -5067,7 +5067,10 @@
 			// TODO Add music support for simon1demo
 		} else {
 			midi.stop();
-			if (_game & GF_TALKIE) {	
+			if (_game & GF_WIN) {	
+				_game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music], SEEK_SET);
+				midi.playMultipleSMF (_game_file);
+			} else if (_game & GF_TALKIE) {	
 				_game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music], SEEK_SET);
 				midi.playSMF (_game_file);
 			} else {





More information about the Scummvm-git-logs mailing list