Skip to content

Commit

Permalink
WINTERMUTE: Fix to make work in 64bit system
Browse files Browse the repository at this point in the history
  • Loading branch information
aquadran committed Nov 15, 2024
1 parent 3927ad0 commit 8d33ed1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/wintermute/decompile_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8d33ed1

Please sign in to comment.