fixed bug
This commit is contained in:
parent
4eebbaa5ef
commit
cc3b08fea5
|
@ -127,9 +127,10 @@ namespace Unity_Studio
|
||||||
byte[] blocksInfoBytes;
|
byte[] blocksInfoBytes;
|
||||||
if ((flag & 0x80) != 0)//at end of file
|
if ((flag & 0x80) != 0)//at end of file
|
||||||
{
|
{
|
||||||
|
var position = b_Stream.Position;
|
||||||
b_Stream.Position = b_Stream.BaseStream.Length - compressedSize;
|
b_Stream.Position = b_Stream.BaseStream.Length - compressedSize;
|
||||||
blocksInfoBytes = b_Stream.ReadBytes(compressedSize);
|
blocksInfoBytes = b_Stream.ReadBytes(compressedSize);
|
||||||
b_Stream.Position = 0x2E;
|
b_Stream.Position = position;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue