mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 11:24:14 +08:00
(LzssStream): use FrameFill property.
This commit is contained in:
parent
5620f48ea9
commit
8947e19d00
@ -79,6 +79,9 @@ namespace GameRes.Compression
|
||||
private IEnumerator<int> 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 (;;)
|
||||
|
Loading…
x
Reference in New Issue
Block a user