ec20: Alignment is just 16bit.. needed for userdata.diff handling
This commit is contained in:
parent
fbd4dad04f
commit
c5b91afaa9
|
@ -42,7 +42,7 @@ print("Guessing CRC to match {} {}".format(
|
||||||
crc32.calculate(blen+chunk1)))
|
crc32.calculate(blen+chunk1)))
|
||||||
|
|
||||||
# read padding
|
# read padding
|
||||||
if len(chunk1) % 4 > 0:
|
if len(chunk1) % 4 > 2:
|
||||||
rstr.read(4 - (len(chunk1) % 4))
|
rstr.read(4 - (len(chunk1) % 4))
|
||||||
|
|
||||||
# Parse the trailer
|
# Parse the trailer
|
||||||
|
|
Loading…
Reference in New Issue