mirror of
https://github.com/lifegpc/GARbro.git
synced 2026-06-06 05:28:49 +08:00
IBinaryStream migration.
This commit is contained in:
@@ -56,7 +56,7 @@ namespace GameRes.Formats
|
||||
{
|
||||
var header = new byte[2] { (byte)'B', (byte)'M' };
|
||||
Stream stream = new StreamRegion (input.AsStream, 2, true);
|
||||
stream = new PrefixStream (header, input);
|
||||
stream = new PrefixStream (header, stream);
|
||||
return new BinaryStream (stream, input.Name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user