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

@@ -279,7 +279,7 @@ namespace GameRes.Formats.Purple
data = UnpackPs2 (data);
else if (data.Length > 0x40 && Binary.AsciiEqual (data, 0, "PB3B"))
DecryptPb3 (data);
return new MemoryStream (data);
return new BinMemoryStream (data, entry.Name);
}
void DecryptIndexStage1 (byte[] data, uint key, CmvsScheme scheme)