From 6d5b49ab3e9ace8dbe8ca30d74813404f01a9d9e Mon Sep 17 00:00:00 2001 From: morkt Date: Sat, 21 May 2016 10:29:57 +0400 Subject: [PATCH] (MblOpener): additional sanity check to reduce false positives. --- ArcFormats/Marble/ArcMBL.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/Marble/ArcMBL.cs b/ArcFormats/Marble/ArcMBL.cs index 00266878..77cfa049 100644 --- a/ArcFormats/Marble/ArcMBL.cs +++ b/ArcFormats/Marble/ArcMBL.cs @@ -140,7 +140,7 @@ namespace GameRes.Formats.Marble dir.Add (entry); index_offset += 8; } - if (0 == dir.Count) + if (0 == dir.Count || (1 == dir.Count && count > 1)) return null; if (contains_scripts) {