aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2010-10-29 16:41:49 +0000
committerJohannes Schickel2010-10-29 16:41:49 +0000
commit447ca7ea696fb7edb26610ccb57605b28dcf7625 (patch)
tree649387d682ec0c68a2a68869ec5e29657b08608f
parent1b2952e3ff6b21c90f5981795de7ca66e56fabec (diff)
downloadscummvm-rg350-447ca7ea696fb7edb26610ccb57605b28dcf7625.tar.gz
scummvm-rg350-447ca7ea696fb7edb26610ccb57605b28dcf7625.tar.bz2
scummvm-rg350-447ca7ea696fb7edb26610ccb57605b28dcf7625.zip
SCUMM: Switch to the new SaveStateDescriptor::setPlayTime.
svn-id: r53923
-rw-r--r--engines/scumm/detection.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 9010cb84c3..467282bd43 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -1198,12 +1198,7 @@ SaveStateDescriptor ScummMetaEngine::querySaveMetaInfos(const char *target, int
int minutes = infos.time & 0xFF;
desc.setSaveTime(hour, minutes);
-
- minutes = infos.playtime / 60;
- hour = minutes / 60;
- minutes %= 60;
-
- desc.setPlayTime(hour, minutes);
+ desc.setPlayTime(infos.playtime * 1000);
}
return desc;