mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
IBinaryStream migration.
This commit is contained in:
@@ -91,7 +91,7 @@ namespace GameRes.Formats.AVC
|
||||
int base_offset = (int)(entry.Offset-arcf.HeaderOffset);
|
||||
for (int i = 0; i < data.Length; ++i)
|
||||
data[i] ^= arcf.Key[((base_offset+i)&7)];
|
||||
return new MemoryStream (data, false);
|
||||
return new BinMemoryStream (data, entry.Name);
|
||||
}
|
||||
|
||||
internal class AdvReader
|
||||
|
||||
Reference in New Issue
Block a user