From 447ca7ea696fb7edb26610ccb57605b28dcf7625 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 29 Oct 2010 16:41:49 +0000 Subject: SCUMM: Switch to the new SaveStateDescriptor::setPlayTime. svn-id: r53923 --- engines/scumm/detection.cpp | 7 +------ 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3