GOB: Report unknown game variant when using the file based fallback detector
This commit is contained in:
parent
9e7ece4ebe
commit
02375fa1e6
1 changed files with 8 additions and 1 deletions
|
@ -40,7 +40,14 @@ public:
|
|||
}
|
||||
|
||||
virtual const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const {
|
||||
return detectGameFilebased(allFiles, fslist, Gob::fileBased);
|
||||
ADFilePropertiesMap filesProps;
|
||||
|
||||
const ADGameDescription *game = detectGameFilebased(allFiles, fslist, Gob::fileBased, &filesProps);
|
||||
if (!game)
|
||||
return 0;
|
||||
|
||||
reportUnknown(fslist.begin()->getParent(), filesProps);
|
||||
return game;
|
||||
}
|
||||
|
||||
virtual const char *getName() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue