[Scummvm-git-logs] scummvm master -> ca7aeffa71ecb4d6bebf9eda7793758f055e2646
dreammaster
paulfgilbert at gmail.com
Thu Oct 8 02:10: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:
ca7aeffa71 GLK: Don't bother detecting game id clashes in release builds
Commit: ca7aeffa71ecb4d6bebf9eda7793758f055e2646
https://github.com/scummvm/scummvm/commit/ca7aeffa71ecb4d6bebf9eda7793758f055e2646
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-10-07T19:10:27-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 25d2d8e2c4..9145484eb0 100644
--- a/engines/glk/detection.cpp
+++ b/engines/glk/detection.cpp
@@ -168,8 +168,10 @@ PlainGameDescriptor GlkMetaEngineStatic::findGame(const char *gameId) const {
#undef FIND_GAME
DetectedGames GlkMetaEngineStatic::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