mirror of
https://github.com/xavo95/repak.git
synced 2025-01-18 19:04:07 +00:00
Fix writing V9 footer
This commit is contained in:
parent
a69b2e44dd
commit
159eb32134
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ impl Footer {
|
||||||
writer.write_u64::<LE>(self.index_offset)?;
|
writer.write_u64::<LE>(self.index_offset)?;
|
||||||
writer.write_u64::<LE>(self.index_size)?;
|
writer.write_u64::<LE>(self.index_size)?;
|
||||||
writer.write_all(&self.hash)?;
|
writer.write_all(&self.hash)?;
|
||||||
|
if self.version_major == VersionMajor::FrozenIndex {
|
||||||
|
writer.write_bool(self.frozen)?;
|
||||||
|
}
|
||||||
let algo_size = match self.version {
|
let algo_size = match self.version {
|
||||||
ver if ver < Version::V8A => 0,
|
ver if ver < Version::V8A => 0,
|
||||||
ver if ver < Version::V8B => 4,
|
ver if ver < Version::V8B => 4,
|
||||||
|
|
Loading…
Reference in a new issue