Use Oodle decompression for hash_list

This commit is contained in:
Giovanni Mounir 2024-02-10 12:35:21 +02:00 committed by Truman Kilen
parent 2c0a52be26
commit abda6dae9f

View file

@ -238,7 +238,7 @@ fn list(aes_key: Option<aes::Aes256>, action: ActionList) -> Result<(), repak::E
} }
fn hash_list(aes_key: Option<aes::Aes256>, action: ActionHashList) -> Result<(), repak::Error> { fn hash_list(aes_key: Option<aes::Aes256>, action: ActionHashList) -> Result<(), repak::Error> {
let mut builder = repak::PakBuilder::new(); let mut builder = repak::PakBuilder::new().oodle(oodle_loader::decompress);
if let Some(aes_key) = aes_key { if let Some(aes_key) = aes_key {
builder = builder.key(aes_key); builder = builder.key(aes_key);
} }