[Scummvm-cvs-logs] CVS: scummvm/sound audiocd.cpp,1.8,1.9

Max Horn fingolfin at users.sourceforge.net
Sun Jan 4 06:09:32 CET 2004


Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1:/tmp/cvs-serv3655

Modified Files:
	audiocd.cpp 
Log Message:
no need to specify game data path here: File::setDefaultDirectory() took care of that

Index: audiocd.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/audiocd.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- audiocd.cpp	3 Jan 2004 01:25:45 -0000	1.8
+++ audiocd.cpp	4 Jan 2004 14:06:06 -0000	1.9
@@ -129,7 +129,7 @@
 
 #ifdef USE_MAD
 	sprintf(track_name, "track%d.mp3", track);
-	file->open(track_name, g_engine->getGameDataPath());
+	file->open(track_name);
 
 	if (file->isOpen()) {
 		_track_info[current_index] = makeMP3TrackInfo(file);
@@ -144,7 +144,7 @@
 
 #ifdef USE_VORBIS
 	sprintf(track_name, "track%d.ogg", track);
-	file->open(track_name, g_engine->getGameDataPath());
+	file->open(track_name);
 
 	if (file->isOpen()) {
 		_track_info[current_index] = makeVorbisTrackInfo(file);





More information about the Scummvm-git-logs mailing list