AdvancedDetector: Introduce new flag GF_ADDENGLISH

It is convenient for localized games which always have English
as fallback, thus English will be selectable from GUI.

svn-id: r51593
This commit is contained in:
Eugene Sandulenko 2010-08-01 21:17:00 +00:00
parent 00e67c1f86
commit 7c5c3faae2
2 changed files with 4 additions and 0 deletions

View file

@ -209,6 +209,9 @@ static void updateGameDescriptor(GameDescriptor &desc, const ADGameDescription *
desc.setGUIOptions(realDesc->guioptions | params.guioptions);
desc.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(realDesc->language));
if (realDesc->flags & ADGF_ADDENGLISH)
desc.appendGUIOptions(getGameGUIOptionsDescriptionLanguage(Common::EN_ANY));
}
GameList AdvancedMetaEngine::detectGames(const Common::FSList &fslist) const {