mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(MbFormat.OpenAsBitmap): made protected.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user