mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(ImpDecoder.GetImageData): don't dispose input.
This commit is contained in:
parent
16c0daf643
commit
10ff1cfcf9
@ -134,7 +134,7 @@ namespace GameRes.Formats.BlackRainbow
|
||||
{
|
||||
m_input.Position = 0x10;
|
||||
var pixels = new byte[Info.Width * Info.Height * 4];
|
||||
using (var lzs = new ByteStringEncryptedStream (m_input.AsStream, m_key))
|
||||
using (var lzs = new ByteStringEncryptedStream (m_input.AsStream, m_key, true))
|
||||
using (var input = new LzssStream (lzs))
|
||||
{
|
||||
if (pixels.Length != input.Read (pixels, 0, pixels.Length))
|
||||
|
Loading…
x
Reference in New Issue
Block a user