diff --git a/ArcFormats/PackedStream.cs b/ArcFormats/PackedStream.cs index 629b309b..a7c863ad 100644 --- a/ArcFormats/PackedStream.cs +++ b/ArcFormats/PackedStream.cs @@ -106,6 +106,12 @@ namespace GameRes.Compression m_reader.Initialize (input); } + public PackedStream (Stream input, TDecompressor reader, bool leave_open = false) : base (input, leave_open) + { + m_reader = reader; + m_reader.Initialize (input); + } + protected TDecompressor Reader { get { return m_reader; } } public override bool CanSeek { get { return false; } }