diff options
author | Max Horn | 2008-04-07 20:56:34 +0000 |
---|---|---|
committer | Max Horn | 2008-04-07 20:56:34 +0000 |
commit | 1aac71ae343dbeb06feadbe92a25105d66b356a0 (patch) | |
tree | 8d9f0b381720f4c966f7d155f156826ba6f69813 | |
parent | 04ff7cb1c1f15d9fd46691c10f50153aa4d721d9 (diff) | |
download | scummvm-rg350-1aac71ae343dbeb06feadbe92a25105d66b356a0.tar.gz scummvm-rg350-1aac71ae343dbeb06feadbe92a25105d66b356a0.tar.bz2 scummvm-rg350-1aac71ae343dbeb06feadbe92a25105d66b356a0.zip |
Advanced detector: Let the user define a language/platform override for games which do not specify a fixed one (like multilingual versions)
svn-id: r31446
-rw-r--r-- | common/advancedDetector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/advancedDetector.cpp b/common/advancedDetector.cpp index e7120a620b..210d6169ad 100644 --- a/common/advancedDetector.cpp +++ b/common/advancedDetector.cpp @@ -376,8 +376,8 @@ static ADGameDescList detectGame(const FSList *fslist, const Common::ADParams &p // Do not even bother to look at entries which do not have matching // language and platform (if specified). - if ((language != UNK_LANG && g->language != language) || - (platform != kPlatformUnknown && g->platform != platform)) { + if ((language != UNK_LANG && g->language != UNK_LANG && g->language != language) || + (platform != kPlatformUnknown && g->platform != kPlatformUnknown && g->platform != platform)) { continue; } |