From 3c0bd3dd270ea785c51c873b971820beda480933 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 3 May 2010 20:09:32 +0000 Subject: 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 --- base/commandLine.cpp | 6 +++--- 1 file 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"); -- cgit v1.2.3