Check magic of compressed .sav files
This commit is contained in:
parent
df33a0aace
commit
153c8610c9
1 changed files with 2 additions and 1 deletions
|
@ -114,9 +114,10 @@ pub struct TaggedSerialization {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[binrw]
|
#[binrw]
|
||||||
|
#[brw(magic = 0x9e2a83c1u32)]
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct CompressedSaveFile {
|
pub struct CompressedSaveFile {
|
||||||
pub magic: u64,
|
#[br(pad_before = 4)]
|
||||||
pub compressed_size: u64,
|
pub compressed_size: u64,
|
||||||
pub a_compresed_size: u64,
|
pub a_compresed_size: u64,
|
||||||
pub a_uncompresed_size: u64,
|
pub a_uncompresed_size: u64,
|
||||||
|
|
Loading…
Add table
Reference in a new issue