mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
IBinaryStream migration.
This commit is contained in:
@@ -102,7 +102,7 @@ namespace GameRes.Formats.Bruns
|
||||
if (meta.Compressed)
|
||||
input = new ZLibStream (input, CompressionMode.Decompress);
|
||||
using (var bin = new BinaryStream (input, stream.Name, true))
|
||||
return meta.Format.Read (input, meta.Info);
|
||||
return meta.Format.Read (bin, meta.Info);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user