Skip to content

Commit

Permalink
Fix wrong header in pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanatosGit committed Nov 18, 2023
1 parent a6d8b6f commit cddd5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mercury_engine_data_structures/formats/pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _build(self, obj: construct.Container, stream, context, path):
construct.stream_seek(stream, 2 * self.int_size.length, 1, path)

# Skip over file headers
construct.stream_seek(stream, len(obj.files) * file_entry_size, 1, path)
construct.stream_seek(stream, self.int_size.length + len(obj.files) * file_entry_size, 1, path)

# Align to 128 bytes
AlignTo(128)._build(None, stream, context, path)
Expand Down

0 comments on commit cddd5e8

Please sign in to comment.