mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(InputCryptoStream): new class derived from CryptoStream.
properly dispose transformations used by CryptoStream.
This commit is contained in:
@@ -193,7 +193,7 @@ namespace GameRes.Formats.CaramelBox
|
||||
return input;
|
||||
if (a3ent.IsEncrypted)
|
||||
{
|
||||
input = new CryptoStream (input, new NotTransform(), CryptoStreamMode.Read);
|
||||
input = new InputCryptoStream (input, new NotTransform());
|
||||
}
|
||||
if (!a3ent.IsPacked)
|
||||
return input;
|
||||
|
||||
Reference in New Issue
Block a user