[Scummvm-git-logs] scummvm master -> 91e25759055b75dda071c2dffe8d12bc7f7f02c3

whoozle noreply at scummvm.org
Tue Mar 31 23:04:00 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:
91e2575905 PHOENIXVR: read var values as signed int32


Commit: 91e25759055b75dda071c2dffe8d12bc7f7f02c3
    https://github.com/scummvm/scummvm/commit/91e25759055b75dda071c2dffe8d12bc7f7f02c3
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-04-01T00:03:52+01:00

Commit Message:
PHOENIXVR: read var values as signed int32

Changed paths:
    engines/phoenixvr/phoenixvr.cpp


diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index 983dee2638a..67607a6440c 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -1318,8 +1318,8 @@ bool PhoenixVREngine::enterScript() {
 	}
 	debug("vars at %08x", (uint32)ms.pos());
 	for (auto &name : _script->getVarNames()) {
-		auto value = ms.readUint32LE();
-		debug("var %s: %u", name.c_str(), value);
+		auto value = ms.readSint32LE();
+		debug("var %s: %d", name.c_str(), value);
 		g_engine->setVariable(name, value);
 	}
 	debug("vars end at %08x", (uint32)ms.pos());




More information about the Scummvm-git-logs mailing list