[Scummvm-cvs-logs] SF.net SVN: scummvm:[35456] scummvm/trunk/engines/tinsel

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Dec 21 01:48:23 CET 2008


Revision: 35456
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35456&view=rev
Author:   lordhoto
Date:     2008-12-21 00:48:23 +0000 (Sun, 21 Dec 2008)

Log Message:
-----------
Disable loading from command line again, it seems it only worked for saves, which did a cd change in DW2 and I only tested those by chance.

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/detection.cpp
    scummvm/trunk/engines/tinsel/tinsel.cpp

Modified: scummvm/trunk/engines/tinsel/detection.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/detection.cpp	2008-12-20 23:15:46 UTC (rev 35455)
+++ scummvm/trunk/engines/tinsel/detection.cpp	2008-12-21 00:48:23 UTC (rev 35456)
@@ -463,7 +463,10 @@
 bool TinselMetaEngine::hasFeature(MetaEngineFeature f) const {
 	return 
 		(f == kSupportsListSaves) ||
+		// TODO: See tinsel.cpp ll 994-1005
+#if 0
 		(f == kSupportsLoadingDuringStartup) ||
+#endif
 		(f == kSupportsDeleteSave);
 }
 

Modified: scummvm/trunk/engines/tinsel/tinsel.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/tinsel.cpp	2008-12-20 23:15:46 UTC (rev 35455)
+++ scummvm/trunk/engines/tinsel/tinsel.cpp	2008-12-21 00:48:23 UTC (rev 35456)
@@ -995,8 +995,14 @@
 	//
 	// TODO: We might want to think about taking care of possible errors
 	// when loading the save state.
-	if (ConfMan.hasKey("save_slot"))
+	//
+	// TODO: This works fine when loading saves, which require a CD change
+	// in DW2. For every other save it'll fail though.
+#if 0
+	if (ConfMan.hasKey("save_slot")) {
 		loadGameState(ConfMan.getInt("save_slot"));
+	}
+#endif
 
 	// Foreground loop
 


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