IBinaryStream migration.

This commit is contained in:
morkt
2016-10-16 09:22:53 +04:00
parent d0c1d5da01
commit bb18303eb4
251 changed files with 3277 additions and 3630 deletions

View File

@@ -193,7 +193,7 @@ namespace GameRes.Formats.NonColor
for (int i = 0; i < dent.RawName.Length-1; ++i)
for (int j = 0; j < block_length; ++j)
data[n++] ^= dent.RawName[i];
return new MemoryStream (data);
return new BinMemoryStream (data, entry.Name);
}
static IDictionary<ulong, Tuple<uint, int>> FileMapIndex = null;