mirror of
https://github.com/Ap0dexMe0/unixtract.git
synced 2026-07-15 21:00:03 +02:00
epk2: fix extraction
This commit is contained in:
@@ -75,6 +75,8 @@ pub fn is_epk2_file(file: &File) -> bool {
|
||||
}
|
||||
|
||||
pub fn extract_epk2(mut file: &File, output_folder: &str) -> Result<(), Box<dyn std::error::Error>> {
|
||||
file.seek(SeekFrom::Start(0))?;
|
||||
|
||||
let _header_signature = common::read_exact(&mut file, SIGNATURE_SIZE as usize)?;
|
||||
|
||||
let stored_header = common::read_exact(&mut file, 1584)?; //max header size
|
||||
|
||||
Reference in New Issue
Block a user