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:
parent
815e3920a7
commit
88cd54c057
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue