diff options
Diffstat (limited to 'engines/glk/scott/detection.cpp')
-rw-r--r-- | engines/glk/scott/detection.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/glk/scott/detection.cpp b/engines/glk/scott/detection.cpp index a02e3c56ad..6c04a25646 100644 --- a/engines/glk/scott/detection.cpp +++ b/engines/glk/scott/detection.cpp @@ -77,5 +77,13 @@ bool ScottMetaEngine::detectGames(const Common::FSList &fslist, DetectedGames &g return !gameList.empty(); } +void ScottMetaEngine::detectClashes(Common::StringMap &map) { + for (const PlainGameDescriptor *pd = SCOTT_GAME_LIST; pd->gameId; ++pd) { + if (map.contains(pd->gameId)) + error("Duplicate game Id found - %s", pd->gameId); + map[pd->gameId] = ""; + } +} + } // End of namespace Scott } // End of namespace Glk |