[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.45,1.46
Travis Howell
kirben at users.sourceforge.net
Sun Nov 3 21:03:01 CET 2002
Update of /cvsroot/scummvm/scummvm/simon
In directory usw-pr-cvs1:/tmp/cvs-serv25762/simon
Modified Files:
simon.cpp
Log Message:
Remove old file exist check that is no longer required
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- simon.cpp 4 Nov 2002 02:23:52 -0000 1.45
+++ simon.cpp 4 Nov 2002 05:02:41 -0000 1.46
@@ -4985,12 +4985,7 @@
/* Simon 1 dos talkie music doesn't detect correct size of music data */
/* Simon 2 dos talkie music isn't supported */
/* Simon 2 dos music isn't supported */
- const char *s2 = gss->wav_filename;
- File music_file;
- music_file.open(s2, _gameDataPath);
- if (music_file.isOpen() == true) {
- midi.shutdown();
-
+ if (_voice_type == FORMAT_WAV) {
if (_game & GAME_WIN) {
_game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music], SEEK_SET);
midi.read_all_songs(_game_file);
More information about the Scummvm-git-logs
mailing list