[Scummvm-cvs-logs] SF.net SVN: scummvm: [27795] scummvm/trunk/engines/scumm/saveload.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Jun 30 20:09:17 CEST 2007


Revision: 27795
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27795&view=rev
Author:   fingolfin
Date:     2007-06-30 11:09:17 -0700 (Sat, 30 Jun 2007)

Log Message:
-----------
Don't tracke time we take for loading (it should be less than a second anyway)

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/saveload.cpp

Modified: scummvm/trunk/engines/scumm/saveload.cpp
===================================================================
--- scummvm/trunk/engines/scumm/saveload.cpp	2007-06-30 17:34:49 UTC (rev 27794)
+++ scummvm/trunk/engines/scumm/saveload.cpp	2007-06-30 18:09:17 UTC (rev 27795)
@@ -200,8 +200,6 @@
 		_engineStartTime = _system->getMillis() / 1000;
 	}
 
-	_dialogStartTime = _system->getMillis() / 1000;
-
 	// Due to a bug in scummvm up to and including 0.3.0, save games could be saved
 	// in the V8/V9 format but were tagged with a V7 mark. Ouch. So we just pretend V7 == V8 here
 	if (hdr.ver == VER(7))
@@ -213,7 +211,7 @@
 	// state for temporary state saves - such as certain cutscenes in DOTT,
 	// FOA, Sam and Max, etc.
 	//
-	// Thusly, we should probably not stop music when restoring from one of
+	// Thus, we should probably not stop music when restoring from one of
 	// these saves. This change stops the Mole Man theme from going quiet in
 	// Sam & Max when Doug tells you about the Ball of Twine, as mentioned in
 	// patch #886058.
@@ -378,9 +376,6 @@
 
 	_sound->pauseSounds(false);
 
-	_engineStartTime += _system->getMillis() / 1000 - _dialogStartTime;
-	_dialogStartTime = 0;
-
 	return true;
 }
 


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