[Scummvm-git-logs] scummvm master -> 89803438f189cacb2d5f619cd35028ce0aa6ccd9

sev- sev at scummvm.org
Fri May 22 17:01:03 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
89803438f1 DIRECTOR: Honor the 'fast' flag on frame delays


Commit: 89803438f189cacb2d5f619cd35028ce0aa6ccd9
    https://github.com/scummvm/scummvm/commit/89803438f189cacb2d5f619cd35028ce0aa6ccd9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-05-22T19:00:31+02:00

Commit Message:
DIRECTOR: Honor the 'fast' flag on frame delays

Changed paths:
    engines/director/score.cpp


diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 3e53005105..09018bb95e 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -1802,6 +1802,9 @@ void Score::update() {
 			// Delay
 			_nextFrameTime = g_system->getMillis() + (256 - tempo) * 1000;
 
+			if (debugChannelSet(-1, kDebugFast))
+				_nextFrameTime = g_system->getMillis();
+
 			return;
 		} else if (tempo <= 60) {
 			// FPS




More information about the Scummvm-git-logs mailing list