mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
no need to specify game data path here: File::setDefaultDirectory() took care of that
svn-id: r12135
This commit is contained in:
parent
d1e6c6059e
commit
e049e24a2c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user