mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +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…
x
Reference in New Issue
Block a user