mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-08 06:39:05 +08:00
(XP3): addional entry sanity check.
This commit is contained in:
@@ -201,6 +201,10 @@ namespace GameRes.Formats.KiriKiri
|
||||
}
|
||||
if (filename_map.Count > 0)
|
||||
name = filename_map.Get (entry.Hash, name);
|
||||
if (name.Length > 0x100)
|
||||
{
|
||||
goto NextEntry;
|
||||
}
|
||||
entry.Name = name;
|
||||
entry.Type = FormatCatalog.Instance.GetTypeFromName (name);
|
||||
entry.IsEncrypted = !(entry.Cipher is NoCrypt)
|
||||
|
||||
Reference in New Issue
Block a user