[Scummvm-git-logs] scummvm master -> 9752d7bb43f41106147e7a39e0381fae51443c94

dreammaster dreammaster at scummvm.org
Thu Jul 20 13:29:16 CEST 2017


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:
9752d7bb43 TITANIC: Don't load prior frame for videos when in reverse mode


Commit: 9752d7bb43f41106147e7a39e0381fae51443c94
    https://github.com/scummvm/scummvm/commit/9752d7bb43f41106147e7a39e0381fae51443c94
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-07-20T07:28:56-04:00

Commit Message:
TITANIC: Don't load prior frame for videos when in reverse mode

Changed paths:
    engines/titanic/support/avi_surface.cpp


diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp
index b14d962..28b509a 100644
--- a/engines/titanic/support/avi_surface.cpp
+++ b/engines/titanic/support/avi_surface.cpp
@@ -168,7 +168,7 @@ void AVISurface::seekToFrame(uint frameNumber) {
 		--frameNumber;
 
 	if ((int)frameNumber != _currentFrame) {
-		if (frameNumber > 0) {
+		if (!isReversed() && frameNumber > 0) {
 			_decoder->seekToFrame(frameNumber - 1);
 			renderFrame();
 		}





More information about the Scummvm-git-logs mailing list