mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-26 06:07:45 +00:00
Can't do math, fix index hash table entry size
This commit is contained in:
parent
7292ad930a
commit
a262591057
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ pub struct IndexFile {
|
||||||
index_header: SqPackIndexHeader,
|
index_header: SqPackIndexHeader,
|
||||||
|
|
||||||
#[br(seek_before = SeekFrom::Start(index_header.index_data_offset.into()))]
|
#[br(seek_before = SeekFrom::Start(index_header.index_data_offset.into()))]
|
||||||
#[br(count = index_header.index_data_size / 24)]
|
#[br(count = index_header.index_data_size / 16)]
|
||||||
pub entries: Vec<IndexHashTableEntry>,
|
pub entries: Vec<IndexHashTableEntry>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue