[Scummvm-git-logs] scummvm master -> 78c88aa8be38eea88e433a7d61dff6e430952259

aquadran noreply at scummvm.org
Mon Oct 19 18:55:59 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:
78c88aa8be GRIM: Fix truncation of 64-bit ids when reading savegames


Commit: 78c88aa8be38eea88e433a7d61dff6e430952259
    https://github.com/scummvm/scummvm/commit/78c88aa8be38eea88e433a7d61dff6e430952259
Author: Joel Teichroeb (joel at teichroeb.net)
Date: 2026-10-19T20:55:54+02:00

Commit Message:
GRIM: Fix truncation of 64-bit ids when reading savegames

Fixes #15668.

Assisted-by: Claude:claude-sonnet-5-5

Changed paths:
    engines/grim/savegame.cpp


diff --git a/engines/grim/savegame.cpp b/engines/grim/savegame.cpp
index 5ff8a834eb1..ad60aa0b769 100644
--- a/engines/grim/savegame.cpp
+++ b/engines/grim/savegame.cpp
@@ -178,7 +178,7 @@ uint64 SaveGame::readLEUint64() {
 		error("SaveGame::readBlock called when storing a savegame");
 	if (_currentSection == 0)
 		error("Tried to read a block without starting a section");
-	uint32 data = READ_LE_UINT64(&_sectionBuffer[_sectionPtr]);
+	uint64 data = READ_LE_UINT64(&_sectionBuffer[_sectionPtr]);
 	_sectionPtr += 8;
 	return data;
 }




More information about the Scummvm-git-logs mailing list