[Scummvm-cvs-logs] SF.net SVN: scummvm:[48925] scummvm/trunk/base/commandLine.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon May 3 22:09:32 CEST 2010


Revision: 48925
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48925&view=rev
Author:   fingolfin
Date:     2010-05-03 20:09:32 +0000 (Mon, 03 May 2010)

Log Message:
-----------
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.

Modified Paths:
--------------
    scummvm/trunk/base/commandLine.cpp

Modified: scummvm/trunk/base/commandLine.cpp
===================================================================
--- scummvm/trunk/base/commandLine.cpp	2010-05-03 19:20:19 UTC (rev 48924)
+++ scummvm/trunk/base/commandLine.cpp	2010-05-03 20:09:32 UTC (rev 48925)
@@ -627,19 +627,19 @@
 	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");
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list