[Scummvm-git-logs] scummvm branch-2-2 -> 57e1084c27103fbab8f41a141b88fcddedd5a6cc
dreammaster
paulfgilbert at gmail.com
Thu Oct 8 02:15:43 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
57e1084c27 GLK: Don't bother detecting game id clashes in release builds
Commit: 57e1084c27103fbab8f41a141b88fcddedd5a6cc
https://github.com/scummvm/scummvm/commit/57e1084c27103fbab8f41a141b88fcddedd5a6cc
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-10-07T19:15:32-07:00
Commit Message:
GLK: Don't bother detecting game id clashes in release builds
The code for detecting multiple Glk sub-engines using the same
game Id is only relevant to debug builds when new games are
first added. It's not needed for proper release builds
Changed paths:
engines/glk/detection.cpp
diff --git a/engines/glk/detection.cpp b/engines/glk/detection.cpp
index c18acd02a9..98fa039f29 100644
--- a/engines/glk/detection.cpp
+++ b/engines/glk/detection.cpp
@@ -315,8 +315,10 @@ PlainGameDescriptor GlkMetaEngine::findGame(const char *gameId) const {
#undef FIND_GAME
DetectedGames GlkMetaEngine::detectGames(const Common::FSList &fslist) const {
+#ifndef RELEASE_BUILD
// This is as good a place as any to detect multiple sub-engines using the same Ids
detectClashes();
+#endif
DetectedGames detectedGames;
Glk::Adrift::AdriftMetaEngine::detectGames(fslist, detectedGames);
More information about the Scummvm-git-logs
mailing list