mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +08:00
(ShiinaRio.Decoder): fixed index length for older versions.
This commit is contained in:
parent
04c28704f2
commit
2b2b8776c2
@ -600,7 +600,7 @@ namespace GameRes.Formats.ShiinaRio
|
||||
|
||||
uint GetMaxIndexLength (int version)
|
||||
{
|
||||
int max_index_entries = version < 150 ? 8192 : 16384;
|
||||
int max_index_entries = version < 150 || SchemeVersion < 2310 ? 8192 : 16384;
|
||||
return (uint)((m_scheme.EntryNameSize + 0x18) * max_index_entries);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user