diff options
author | Torbjörn Andersson | 2009-03-01 15:15:51 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2009-03-01 15:15:51 +0000 |
commit | f20554d38993406b68a53b7933f861e8d6967cf9 (patch) | |
tree | 6d48f2800d4fa5cc30dbf033efba702b211a45a0 | |
parent | 7ea5cefef4fb1ef9db52cbf5df7f884770113684 (diff) | |
download | scummvm-rg350-f20554d38993406b68a53b7933f861e8d6967cf9.tar.gz scummvm-rg350-f20554d38993406b68a53b7933f861e8d6967cf9.tar.bz2 scummvm-rg350-f20554d38993406b68a53b7933f861e8d6967cf9.zip |
Check for "track01" as well as "track1". (I hope I didn't break compilation by
modifying Windows-only code.)
svn-id: r39040
-rw-r--r-- | engines/engine.cpp | 11 |
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 |