mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(BMZ): pass seekable stream to base.Read method.
This commit is contained in:
parent
5a858cf42d
commit
105a2ab968
@ -67,7 +67,8 @@ namespace GameRes.Formats.BlackRainbow
|
||||
{
|
||||
stream.Seek (8, SeekOrigin.Current);
|
||||
using (var zstream = new ZLibStream (stream, CompressionMode.Decompress, true))
|
||||
return base.Read (zstream, info);
|
||||
using (var input = new SeekableStream (zstream))
|
||||
return base.Read (input, info);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user