From 20afc26ec40f5a873f8b90638be8c81938c609e6 Mon Sep 17 00:00:00 2001 From: morkt Date: Thu, 14 Jun 2018 23:20:14 +0400 Subject: [PATCH] (NScripter): check NBZ flag in compressed entries. --- ArcFormats/NScripter/ArcNSA.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/NScripter/ArcNSA.cs b/ArcFormats/NScripter/ArcNSA.cs index 80b36f5b..1e95d140 100644 --- a/ArcFormats/NScripter/ArcNSA.cs +++ b/ArcFormats/NScripter/ArcNSA.cs @@ -184,7 +184,7 @@ namespace GameRes.Formats.NScripter { if (null == nsa_entry) return input; - if (nsa_entry.Name.HasExtension (".nbz")) + if (nsa_entry.Name.HasExtension (".nbz") || Compression.NBZ == nsa_entry.CompressionType) { input.Position = 4; return new BZip2InputStream (input);