mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
(NScripter): check NBZ flag in compressed entries.
This commit is contained in:
parent
175b1c9ee7
commit
20afc26ec4
@ -184,7 +184,7 @@ namespace GameRes.Formats.NScripter
|
|||||||
{
|
{
|
||||||
if (null == nsa_entry)
|
if (null == nsa_entry)
|
||||||
return input;
|
return input;
|
||||||
if (nsa_entry.Name.HasExtension (".nbz"))
|
if (nsa_entry.Name.HasExtension (".nbz") || Compression.NBZ == nsa_entry.CompressionType)
|
||||||
{
|
{
|
||||||
input.Position = 4;
|
input.Position = 4;
|
||||||
return new BZip2InputStream (input);
|
return new BZip2InputStream (input);
|
||||||
|
Loading…
Reference in New Issue
Block a user