mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +08:00
(MbFormat.OpenAsBitmap): made protected.
This commit is contained in:
parent
b3ba259843
commit
12f39b87e7
@ -52,7 +52,7 @@ namespace GameRes.Formats
|
|||||||
return base.Read (bmp, info);
|
return base.Read (bmp, info);
|
||||||
}
|
}
|
||||||
|
|
||||||
IBinaryStream OpenAsBitmap (IBinaryStream input)
|
protected IBinaryStream OpenAsBitmap (IBinaryStream input)
|
||||||
{
|
{
|
||||||
var header = new byte[2] { (byte)'B', (byte)'M' };
|
var header = new byte[2] { (byte)'B', (byte)'M' };
|
||||||
Stream stream = new StreamRegion (input.AsStream, 2, true);
|
Stream stream = new StreamRegion (input.AsStream, 2, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user