aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/sound.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index ebf18c2f67..dec8eb0aff 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1315,8 +1315,10 @@ void Sound::updateCD()
int Sound::getCachedTrack(int track) {
int i;
+#if defined(USE_MAD) || defined(USE_VORBIS)
char track_name[1024];
- File * file = new File();
+ File *file = new File();
+#endif
int current_index;
// See if we find the track in the cache