This commit is contained in:
恍兮惚兮 2025-01-05 21:12:17 +08:00
parent abfc9f123a
commit 46d375c8d1

View File

@ -1265,7 +1265,7 @@ class MDD(MDict):
# decompress
header = b"\xf0" + pack(">I", decompressed_size)
record_block = lzo.decompress(
record_block_compressed[start + 8 : end],
record_block_compressed[8:],
initSize=decompressed_size,
blockSize=1308672,
)
@ -1353,7 +1353,7 @@ class MDD(MDict):
header = b"\xf0" + pack(">I", decompressed_size)
if check_block:
record_block = lzo.decompress(
record_block_compressed[start + 8 : end],
record_block_compressed[8:],
initSize=decompressed_size,
blockSize=1308672,
)