Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Jan 5, 2025
1 parent abfc9f1 commit 46d375c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/LunaTranslator/cishu/mdict.py
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ def _decode_record_block(self):
# 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,
)
Expand Down Expand Up @@ -1353,7 +1353,7 @@ def get_index(self, check_block=True):
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,
)
Expand Down

0 comments on commit 46d375c

Please sign in to comment.