aboutsummaryrefslogtreecommitdiff
path: root/engines/director/score.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-13 20:31:15 +0100
committerEugene Sandulenko2019-12-13 20:31:15 +0100
commit409f0b50d7a0fa7c9839b5ea775f398a4a54317f (patch)
tree4cf4a4395f0c6a13adf59fe454462a999153cdb8 /engines/director/score.cpp
parent237c776b8e2176fad599e665fd75694e4bbf4f48 (diff)
downloadscummvm-rg350-409f0b50d7a0fa7c9839b5ea775f398a4a54317f.tar.gz
scummvm-rg350-409f0b50d7a0fa7c9839b5ea775f398a4a54317f.tar.bz2
scummvm-rg350-409f0b50d7a0fa7c9839b5ea775f398a4a54317f.zip
DIRECTOR: Implemented slow playback debug option
Diffstat (limited to 'engines/director/score.cpp')
-rw-r--r--engines/director/score.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index a3deb95433..84039bee27 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -1384,6 +1384,9 @@ void Score::update() {
}
_nextFrameTime = g_system->getMillis() + 1000.0 / (float)_currentFrameRate;
+
+ if (debugChannelSet(-1, kDebugSlow))
+ _nextFrameTime += 1000;
}
Sprite *Score::getSpriteById(uint16 id) {