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
This commit is contained in:
parent
04ff7cb1c1
commit
1aac71ae34
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue