Skip to content

Commit 8d33ed1

Browse files
committed
WINTERMUTE: Fix to make work in 64bit system
1 parent 3927ad0 commit 8d33ed1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engines/wintermute/decompile_script.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ class WinterMuteDecompiler:
138138

139139
def __init__(self, data):
140140
self.data = data
141-
self.offsets = unpack("LLLLLLLL",data[:32])
141+
self.offsets = unpack("IIIIIIII",data[:32])
142142

143143
def read_int(self):
144-
result = unpack("L",self.data[self.ptr:self.ptr+4])[0]
144+
result = unpack("I",self.data[self.ptr:self.ptr+4])[0]
145145
self.ptr += 4
146146
return result
147147

0 commit comments

Comments
 (0)