[Scummvm-cvs-logs] SF.net SVN: scummvm:[35454] scummvm/trunk/engines/tinsel
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Dec 21 00:11:56 CET 2008
Revision: 35454
http://scummvm.svn.sourceforge.net/scummvm/?rev=35454&view=rev
Author: lordhoto
Date: 2008-12-20 23:11:56 +0000 (Sat, 20 Dec 2008)
Log Message:
-----------
Implemented support for loading saves from launcher / via command line.
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:08:37 UTC (rev 35453)
+++ scummvm/trunk/engines/tinsel/detection.cpp 2008-12-20 23:11:56 UTC (rev 35454)
@@ -463,6 +463,7 @@
bool TinselMetaEngine::hasFeature(MetaEngineFeature f) const {
return
(f == kSupportsListSaves) ||
+ (f == kSupportsLoadingDuringStartup) ||
(f == kSupportsDeleteSave);
}
Modified: scummvm/trunk/engines/tinsel/tinsel.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/tinsel.cpp 2008-12-20 23:08:37 UTC (rev 35453)
+++ scummvm/trunk/engines/tinsel/tinsel.cpp 2008-12-20 23:11:56 UTC (rev 35454)
@@ -991,13 +991,9 @@
//dumpMusic(); // dumps all of the game's music in external XMIDI files
-#if 0
// Load game from specified slot, if any
- // FIXME: Not working correctly right now
- if (ConfMan.hasKey("save_slot")) {
- RestoreGame(ConfMan.getInt("save_slot"), true);
- }
-#endif
+ if (ConfMan.hasKey("save_slot"))
+ loadGameState(ConfMan.getInt("save_slot"));
// 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