mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 12:39:16 +08:00
added #ZipLib reference for BZip2InputStream support.
DonNetZip bzip2 decompressor fails when input stream contains trailing garbage.
This commit is contained in:
parent
910e2e8387
commit
816194f128
@ -49,6 +49,10 @@
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="ICSharpCode.SharpZipLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\SharpZipLib.1.0.0-alpha2\lib\netstandard1.3\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NAudio">
|
||||
<HintPath>..\packages\NAudio.1.7.3\lib\net35\NAudio.dll</HintPath>
|
||||
</Reference>
|
||||
|
@ -33,6 +33,7 @@ using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using GameRes.Cryptography;
|
||||
using GameRes.Formats.Strings;
|
||||
using ICSharpCode.SharpZipLib.BZip2;
|
||||
|
||||
namespace GameRes.Formats.Tamamo
|
||||
{
|
||||
@ -126,7 +127,7 @@ namespace GameRes.Formats.Tamamo
|
||||
}
|
||||
else
|
||||
{
|
||||
// input = new Bzip2InputStream (input); // requires #ZipLib/DonNetZip
|
||||
input = new BZip2InputStream (input);
|
||||
}
|
||||
}
|
||||
return input;
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="NVorbis" version="0.8.5.0" targetFramework="net46" />
|
||||
<package id="SharpZipLib" version="1.0.0-alpha2" targetFramework="net46" />
|
||||
</packages>
|
Loading…
x
Reference in New Issue
Block a user