diff --git a/ArcFormats/ArcSAF.cs b/ArcFormats/ArcSAF.cs index 750d4be8..a38f678f 100644 --- a/ArcFormats/ArcSAF.cs +++ b/ArcFormats/ArcSAF.cs @@ -54,6 +54,8 @@ namespace GameRes.Formats.Lune DecryptIndex (index_buffer, count); var reader = new IndexReader (index_buffer, count); var dir = reader.Scan(); + if (0 == dir.Count) + return null; return new ArcFile (file, this, dir); }