mirror of
https://github.com/xavo95/repak.git
synced 2025-02-22 07:53:45 +00:00
Don't assert compression block size as it break existsing tests
This commit is contained in:
parent
13c1c269a4
commit
d8b3d2f089
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ pub(crate) fn build_partial_entry(
|
|||
}
|
||||
#[cfg(feature = "compression")]
|
||||
Some(compression) => {
|
||||
// https://github.com/EpicGames/UnrealEngine/commit/3aad0ff7976be1073005dca2c1282af548b45d89
|
||||
// Block size must fit into flags field or it may cause unreadable paks for earlier Unreal Engine versions
|
||||
compression_block_size = 0x10000;
|
||||
let mut compressed_size = 0;
|
||||
let mut blocks = vec![];
|
||||
|
|
Loading…
Reference in a new issue