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