aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-05-03 20:09:32 +0000
committerMax Horn2010-05-03 20:09:32 +0000
commit3c0bd3dd270ea785c51c873b971820beda480933 (patch)
treee1c8d5746c6d0d9e5226cbe0471590b140d52867
parent6ac0d4dce55d11112b802179e1248a649afa0f1c (diff)
downloadscummvm-rg350-3c0bd3dd270ea785c51c873b971820beda480933.tar.gz
scummvm-rg350-3c0bd3dd270ea785c51c873b971820beda480933.tar.bz2
scummvm-rg350-3c0bd3dd270ea785c51c873b971820beda480933.zip
Tweak messages when listing save states.
Targets don't list savestates, plugins do; and since the user specified a target, we should always list that first, and give the gameid only as additional information. svn-id: r48925
-rw-r--r--base/commandLine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 7dbf4e0fe1..8fa2f54b03 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -627,19 +627,19 @@ static void listSaves(const char *target) {
GameDescriptor game = EngineMan.findGame(gameid, &plugin);
if (!plugin) {
- error("Could not find any plugin to handle gameid '%s' (target '%s')", gameid.c_str(), target);
+ error("Could not find any plugin to handle target '%s' (gameid '%s')", target, gameid.c_str());
return;
}
if (!(*plugin)->hasFeature(MetaEngine::kSupportsListSaves)) {
// TODO: Include more info about the target (desc, engine name, ...) ???
- printf("Target '%s' does not support listing of its save states.\n", target);
+ printf("ScummVM does not support listing save states for target '%s' (gameid '%s') .\n", target, gameid.c_str());
} else {
// Query the plugin for a list of savegames
SaveStateList saveList = (*plugin)->listSaves(target);
// TODO: Include more info about the target (desc, engine name, ...) ???
- printf("Saves for target '%s':\n", target);
+ printf("Saves for target '%s' (gameid '%s'):\n", target, gameid.c_str());
printf(" Slot Description \n"
" ---- ------------------------------------------------------\n");