mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
(ShiinaRio.Decoder): fixed index length for older versions.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user