(MbFormat.OpenAsBitmap): made protected.

This commit is contained in:
morkt 2017-12-29 13:38:16 +04:00
parent b3ba259843
commit 12f39b87e7

View File

@ -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);