SCI32: Restore gameplay time in RAMA

This will cause non-linear time shifts in the system timer that
the game's custom save logic may not expect, but in initial testing
the game doesn't seem to care about this.

Fixes Trac#10259.
This commit is contained in:
Colin Snover 2017-10-01 23:02:01 -05:00
parent 815e3920a7
commit 88cd54c057

View file

@ -469,6 +469,9 @@ reg_t kFileIOOpen(EngineState *s, int argc, reg_t *argv) {
Graphics::skipThumbnail(*in);
valid = true;
}
if (meta.version >= 34) {
g_sci->setTickCount(meta.playTime);
}
}
} else {
out = saveFileMan->openForSaving(fileName);