mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 05:35:34 +08:00
(DAT/SAKURA): additional sanity check.
This commit is contained in:
parent
72452d664a
commit
e70251d304
@ -52,6 +52,8 @@ namespace GameRes.Formats.StudioSakura
|
||||
for (int i = 0; i < count; ++i)
|
||||
{
|
||||
var name = file.View.ReadString (index_offset, 0x100);
|
||||
if (string.IsNullOrWhiteSpace (name))
|
||||
return null;
|
||||
var entry = new PackedEntry();
|
||||
entry.IsPacked = name.HasExtension (".pr3");
|
||||
if (entry.IsPacked)
|
||||
|
Loading…
Reference in New Issue
Block a user