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

@@ -222,7 +222,7 @@ namespace GameRes.Formats.Zyx
var bdf = arc as BdfArchive;
var frame = entry as BdfFrame;
if (null == bdf || null == frame)
return arc.File.CreateStream (entry.Offset, entry.Size);
return base.OpenEntry (arc, entry);
var pixels = bdf.ReadFrame (frame);
var header = new byte[0x12];