From 8947e19d0081ff72c6fa1b7b2c0ef216cbfa95d1 Mon Sep 17 00:00:00 2001 From: morkt Date: Fri, 24 Mar 2017 22:46:16 +0400 Subject: [PATCH] (LzssStream): use FrameFill property. --- ArcFormats/LzssStream.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArcFormats/LzssStream.cs b/ArcFormats/LzssStream.cs index 41ffe958..5369754b 100644 --- a/ArcFormats/LzssStream.cs +++ b/ArcFormats/LzssStream.cs @@ -79,6 +79,9 @@ namespace GameRes.Compression private IEnumerator Unpack () { byte[] frame = new byte[FrameSize]; + if (FrameFill != 0) + for (int i = 0; i < frame.Length; ++i) + frame[i] = FrameFill; int frame_pos = FrameInitPos; int frame_mask = FrameSize-1; for (;;)