aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2008-05-24 14:12:32 +0000
committerMax Horn2008-05-24 14:12:32 +0000
commit6af9fcc57991c504382bd5a3be65fc4992c2e868 (patch)
tree4c7798a3e529a3608b4080dff13337f7f8304a39
parentd766719a65b3f8f968b2fbc81b6443220248ebfc (diff)
downloadscummvm-rg350-6af9fcc57991c504382bd5a3be65fc4992c2e868.tar.gz
scummvm-rg350-6af9fcc57991c504382bd5a3be65fc4992c2e868.tar.bz2
scummvm-rg350-6af9fcc57991c504382bd5a3be65fc4992c2e868.zip
Made the startup log output a bit more informative
svn-id: r32243
-rw-r--r--base/main.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp
index c36c506d7f..ff246fd8b3 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -90,17 +90,20 @@ static const EnginePlugin *detectPlugin() {
ConfMan.set("gameid", gameid);
// Query the plugins and find one that will handle the specified gameid
- printf("Looking for %s\n", gameid.c_str());
+ printf("User picked target '%s' (gameid '%s')...\n", ConfMan.getActiveDomainName().c_str(), gameid.c_str());
+ printf(" Looking for a plugin supporting this gameid... ");
GameDescriptor game = EngineMan.findGame(gameid, &plugin);
if (plugin == 0) {
- printf("Failed game detection\n");
+ printf("failed\n");
warning("%s is an invalid gameid. Use the --list-games option to list supported gameid", gameid.c_str());
return 0;
+ } else {
+ printf("%s\n", plugin->getName());
}
// FIXME: Do we really need this one?
- printf("Trying to start game '%s'\n", game.description().c_str());
+ printf(" Starting '%s'\n", game.description().c_str());
return plugin;
}