mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
Check for "track01" as well as "track1". (I hope I didn't break compilation by
modifying Windows-only code.) svn-id: r39040
This commit is contained in:
parent
7ea5cefef4
commit
f20554d389
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user