diff options
author | Paul Gilbert | 2018-11-14 20:25:49 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | af081ad322649918c205e03e4dd29991547981e0 (patch) | |
tree | ed70cee5a7bbe7f88ed6767aa0b65da631271cc2 /engines/glk/frotz/detection.cpp | |
parent | beddf3853e631c4b3bc5393ee9072c489d1679ea (diff) | |
download | scummvm-rg350-af081ad322649918c205e03e4dd29991547981e0.tar.gz scummvm-rg350-af081ad322649918c205e03e4dd29991547981e0.tar.bz2 scummvm-rg350-af081ad322649918c205e03e4dd29991547981e0.zip |
GLK: FROTZ: Improve fallback detection of Z-code games
Diffstat (limited to 'engines/glk/frotz/detection.cpp')
-rw-r--r-- | engines/glk/frotz/detection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/glk/frotz/detection.cpp b/engines/glk/frotz/detection.cpp index b77344db35..9ac033b29e 100644 --- a/engines/glk/frotz/detection.cpp +++ b/engines/glk/frotz/detection.cpp @@ -77,7 +77,8 @@ bool FrotzMetaEngine::detectGames(const Common::FSList &fslist, DetectedGames &g continue; warning("Uknown zcode game %s - %s %d", filename.c_str(), md5.c_str(), filesize); - gd = DetectedGame("zcode", "Unrecognised zcode game", Common::UNK_LANG, Common::kPlatformUnknown); + const PlainGameDescriptor &desc = FROTZ_GAME_LIST[0]; + gd = DetectedGame(desc.gameId, desc.description, Common::UNK_LANG, Common::kPlatformUnknown); } else { PlainGameDescriptor gameDesc = findGame(p->_gameId); gd = DetectedGame(p->_gameId, gameDesc.description, p->_language, Common::kPlatformUnknown, p->_extra); |