aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/engine.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index 361d11c46a..269bb0bc28 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -193,15 +193,20 @@ void Engine::checkCD() {
// if it's running from CD.
#ifdef USE_VORBIS
- if (Common::File::exists("track1.ogg"))
+ if (Common::File::exists("track1.ogg") ||
+ Common::File::exists("track01.ogg"))
return;
#endif
#ifdef USE_FLAC
- if (Common::File::exists("track1.fla") || Common::File::exists("track1.flac"))
+ if (Common::File::exists("track1.fla") ||
+ Common::File::exists("track1.flac") ||
+ Common::File::exists("track01.fla") ||
+ Common::File::exists("track01.flac"))
return;
#endif
#ifdef USE_MAD
- if (Common::File::exists("track1.mp3"))
+ if (Common::File::exists("track1.mp3") ||
+ Common::File::exists("track01.mp3"))
return;
#endif