[Scummvm-git-logs] scummvm master -> 22eaa6dfc319c00349858b39b330b29282a9352e
sev-
noreply at scummvm.org
Fri Mar 27 01:06:46 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
22eaa6dfc3 LAUNCHER: Remove temporary game ID when detection fails.
Commit: 22eaa6dfc319c00349858b39b330b29282a9352e
https://github.com/scummvm/scummvm/commit/22eaa6dfc319c00349858b39b330b29282a9352e
Author: Taz (moetezzouari1 at gmail.com)
Date: 2026-03-27T02:06:42+01:00
Commit Message:
LAUNCHER: Remove temporary game ID when detection fails.
Changed paths:
base/main.cpp
diff --git a/base/main.cpp b/base/main.cpp
index 77ceac8736a..e507766e6a2 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -162,6 +162,13 @@ static Common::Error identifyGame(const Common::String &debugLevels, const Plugi
Common::Error result = metaEngine.identifyGame(game, descriptor);
if (result.getCode() != Common::kNoError) {
warning("Couldn't identify game '%s' for the engine '%s'.", gameId.c_str(), engineId.c_str());
+
+ // If a temporary target failed to launch, remove it from the configuration manager
+ // so it not visible in the launcher.
+ // Temporary targets are created when starting games from the command line using the game id.
+ if (ConfMan.hasKey("id_came_from_command_line")) {
+ ConfMan.removeGameDomain(ConfMan.getActiveDomainName().c_str());
+ }
}
return result;
}
More information about the Scummvm-git-logs
mailing list