[Scummvm-git-logs] scummvm master -> b995ad557976494c3f70e1c0c8589771a9a873a0

whoozle noreply at scummvm.org
Fri Mar 13 10:28:09 UTC 2026


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

Summary:
b995ad5579 PHOENIXVR: adjust position by 1


Commit: b995ad557976494c3f70e1c0c8589771a9a873a0
    https://github.com/scummvm/scummvm/commit/b995ad557976494c3f70e1c0c8589771a9a873a0
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-03-13T10:27:34Z

Commit Message:
PHOENIXVR: adjust position by 1

Original engine does that and it's not tied to dt, probably to keep things moving if fps is too high.

Changed paths:
    engines/phoenixvr/phoenixvr.cpp


diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index 1ed942c04b9..ba51779c46b 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -313,7 +313,7 @@ void PhoenixVREngine::fade(int start, int stop, int speed) {
 		renderVR(dt);
 		renderFade(pos);
 
-		pos += 1 + dt * speedMs;
+		pos += dt * speedMs + ((speed >= 0) ? 1 : -1);
 
 		// Delay for a bit. All events loops should have a delay
 		// to prevent the system being unduly loaded




More information about the Scummvm-git-logs mailing list