mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
Made the startup log output a bit more informative
svn-id: r32243
This commit is contained in:
parent
d766719a65
commit
6af9fcc579
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user