mirror of
https://github.com/xavo95/repak.git
synced 2025-01-18 19:04:07 +00:00
Fix not writing entry block count
This commit is contained in:
parent
f94e6c460d
commit
9692c7a4d1
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,7 @@ impl Entry {
|
||||||
}
|
}
|
||||||
if version.version_major() >= VersionMajor::CompressionEncryption {
|
if version.version_major() >= VersionMajor::CompressionEncryption {
|
||||||
if let Some(blocks) = &self.blocks {
|
if let Some(blocks) = &self.blocks {
|
||||||
|
writer.write_u32::<LE>(blocks.len() as u32)?;
|
||||||
for block in blocks {
|
for block in blocks {
|
||||||
block.write(writer)?;
|
block.write(writer)?;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue