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

@@ -73,7 +73,7 @@ namespace GameRes.Formats.Sas5
var code = new byte[entry.Size];
arc.File.View.Read (entry.Offset, code, 0, entry.Size);
DecryptCodeSection (code);
return new MemoryStream (code);
return new BinMemoryStream (code, entry.Name);
}
static void DecryptCodeSection (byte[] code)