From bb813719b56a3e2a51b7c73385d036f61fdde584 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Thu, 15 Sep 2016 18:39:45 +0200 Subject: ENGINES: Change targets to have an 'engine ID' The engine ID identifies which engine should be used to launch the target. Also remove the 'single ID' system. Different games from engines that used that system now have different game IDs. Also-By: Matthew Hoops --- engines/glk/detection.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/glk/detection.cpp') diff --git a/engines/glk/detection.cpp b/engines/glk/detection.cpp index b4d5bff84c..1e465e9827 100644 --- a/engines/glk/detection.cpp +++ b/engines/glk/detection.cpp @@ -104,27 +104,27 @@ namespace Glk { GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const Common::String &filename) : - DetectedGame(id, desc, Common::EN_ANY, Common::kPlatformUnknown) { + DetectedGame("glk", id, desc, Common::EN_ANY, Common::kPlatformUnknown) { setGUIOptions(GUIO3(GUIO_NOSPEECH, GUIO_NOMUSIC, GUIO_NOSUBTITLES)); addExtraEntry("filename", filename); } GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const Common::String &filename, - Common::Language lang) : DetectedGame(id, desc, lang, Common::kPlatformUnknown) { + Common::Language lang) : DetectedGame("glk", id, desc, lang, Common::kPlatformUnknown) { setGUIOptions(GUIO3(GUIO_NOSPEECH, GUIO_NOMUSIC, GUIO_NOSUBTITLES)); addExtraEntry("filename", filename); } GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const char *xtra, const Common::String &filename, Common::Language lang) : - DetectedGame(id, desc, lang, Common::kPlatformUnknown, xtra) { + DetectedGame("glk", id, desc, lang, Common::kPlatformUnknown, xtra) { setGUIOptions(GUIO3(GUIO_NOSPEECH, GUIO_NOMUSIC, GUIO_NOSUBTITLES)); addExtraEntry("filename", filename); } GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const Common::String &filename, const Common::String &md5, size_t filesize) : - DetectedGame(id, desc, Common::UNK_LANG, Common::kPlatformUnknown) { + DetectedGame("glk", id, desc, Common::UNK_LANG, Common::kPlatformUnknown) { setGUIOptions(GUIO3(GUIO_NOSPEECH, GUIO_NOMUSIC, GUIO_NOSUBTITLES)); addExtraEntry("filename", filename); -- cgit v1.2.3