diff --git a/AssetStudio/BundleFile.cs b/AssetStudio/BundleFile.cs index 7741fee..5e56826 100644 --- a/AssetStudio/BundleFile.cs +++ b/AssetStudio/BundleFile.cs @@ -298,7 +298,7 @@ namespace AssetStudio if ((m_Header.flags & ArchiveFlags.BlocksInfoAtTheEnd) != 0) { var position = reader.Position; - reader.Position = reader.BaseStream.Length - m_Header.compressedBlocksInfoSize; + reader.Position = m_Header.size - m_Header.compressedBlocksInfoSize; blocksInfoBytes = reader.ReadBytes((int)m_Header.compressedBlocksInfoSize); reader.Position = position; }