diff options
Diffstat (limited to 'engines/glk/advsys/detection.cpp')
-rw-r--r-- | engines/glk/advsys/detection.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/glk/advsys/detection.cpp b/engines/glk/advsys/detection.cpp index d3b376f0b6..d6641a6a7c 100644 --- a/engines/glk/advsys/detection.cpp +++ b/engines/glk/advsys/detection.cpp @@ -86,13 +86,15 @@ bool AdvSysMetaEngine::detectGames(const Common::FSList &fslist, DetectedGames & gameList.push_back(gd); } else { - if (gDebugLevel > 0) { - // Print an entry suitable for putting into the detection_tables.h - debug("ENTRY0(\"%s\", \"%s\", %u),", filename.c_str(), md5.c_str(), (uint)filesize); - } - const PlainGameDescriptor &desc = ADVSYS_GAME_LIST[0]; DetectedGame gd(desc.gameId, desc.description, Common::UNK_LANG, Common::kPlatformUnknown); + gd.canBeAdded = true; + gd.hasUnknownFiles = true; + FileProperties fp; + fp.md5 = md5; + fp.size = filesize; + gd.matchedFiles[file->getName()] = fp; + gameList.push_back(gd); } } |