aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2007-06-30 18:09:17 +0000
committerMax Horn2007-06-30 18:09:17 +0000
commita8260011761d3c71148c033bb13fa14c9568103d (patch)
tree2a3f615dc9f636cbae15b8ee10516ed42fe62a33 /engines
parenta6210289f5e22c135bd3c0738350bf2df3c8f7d9 (diff)
downloadscummvm-rg350-a8260011761d3c71148c033bb13fa14c9568103d.tar.gz
scummvm-rg350-a8260011761d3c71148c033bb13fa14c9568103d.tar.bz2
scummvm-rg350-a8260011761d3c71148c033bb13fa14c9568103d.zip
Don't tracke time we take for loading (it should be less than a second anyway)
svn-id: r27795
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/saveload.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index 9578b05c1f..9d0d0ad654 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -200,8 +200,6 @@ bool ScummEngine::loadState(int slot, bool compat) {
_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 @@ bool ScummEngine::loadState(int slot, bool compat) {
// 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 @@ bool ScummEngine::loadState(int slot, bool compat) {
_sound->pauseSounds(false);
- _engineStartTime += _system->getMillis() / 1000 - _dialogStartTime;
- _dialogStartTime = 0;
-
return true;
}