diff options
-rw-r--r-- | engines/prince/prince.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp index e220f473c8..fe5905bcd0 100644 --- a/engines/prince/prince.cpp +++ b/engines/prince/prince.cpp @@ -241,9 +241,12 @@ void PrinceEngine::init() { SearchMan.addSubDirectoryMatching(gameDataDir, "all"); - SearchMan.add("all", all); - SearchMan.add("voices", voices); - SearchMan.add("sound", sound); + // Prefix the archive names, so that "all" doesn't conflict with the + // "all" directory, if that happens to be named in all lower case. + // It isn't on the CD, but we should try to stay case-insensitive. + SearchMan.add("_all", all); + SearchMan.add("_voices", voices); + SearchMan.add("_sound", sound); if (getLanguage() != Common::PL_POL && getLanguage() != Common::DE_DEU) { SearchMan.add("translation", translation); } |