[Scummvm-git-logs] scummvm-tools master -> 8d33ed1c06ec85d1f1a3d6dd9370c402e798ebda

aquadran noreply at scummvm.org
Fri Nov 15 13:27:44 UTC 2024


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

Summary:
8d33ed1c06 WINTERMUTE: Fix to make work in 64bit system


Commit: 8d33ed1c06ec85d1f1a3d6dd9370c402e798ebda
    https://github.com/scummvm/scummvm-tools/commit/8d33ed1c06ec85d1f1a3d6dd9370c402e798ebda
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-11-15T14:27:40+01:00

Commit Message:
WINTERMUTE: Fix to make work in 64bit system

Changed paths:
    engines/wintermute/decompile_script.py


diff --git a/engines/wintermute/decompile_script.py b/engines/wintermute/decompile_script.py
index 17e12fb6..42b841a5 100755
--- a/engines/wintermute/decompile_script.py
+++ b/engines/wintermute/decompile_script.py
@@ -138,10 +138,10 @@ class WinterMuteDecompiler:
 
     def __init__(self, data):
         self.data = data
-        self.offsets = unpack("LLLLLLLL",data[:32])
+        self.offsets = unpack("IIIIIIII",data[:32])
 
     def read_int(self):
-        result = unpack("L",self.data[self.ptr:self.ptr+4])[0]
+        result = unpack("I",self.data[self.ptr:self.ptr+4])[0]
         self.ptr += 4
         return result
 




More information about the Scummvm-git-logs mailing list