aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMax Horn2004-01-04 14:06:06 +0000
committerMax Horn2004-01-04 14:06:06 +0000
commite049e24a2c15543dd20bfb76976f3eea892b7949 (patch)
treef34459579219cc69c1a625fae3f826d52752f83f /sound
parentd1e6c6059ef41cc913ae6c80bebde1fdf044e500 (diff)
downloadscummvm-rg350-e049e24a2c15543dd20bfb76976f3eea892b7949.tar.gz
scummvm-rg350-e049e24a2c15543dd20bfb76976f3eea892b7949.tar.bz2
scummvm-rg350-e049e24a2c15543dd20bfb76976f3eea892b7949.zip
no need to specify game data path here: File::setDefaultDirectory() took care of that
svn-id: r12135
Diffstat (limited to 'sound')
-rw-r--r--sound/audiocd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/audiocd.cpp b/sound/audiocd.cpp
index 2f3e68b229..120c7e4ad8 100644
--- a/sound/audiocd.cpp
+++ b/sound/audiocd.cpp
@@ -129,7 +129,7 @@ int AudioCDManager::getCachedTrack(int track) {
#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 @@ int AudioCDManager::getCachedTrack(int track) {
#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);