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 (;;)