mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(BinaryImageDecoder.Image): null coalesce.
This commit is contained in:
parent
e44198a132
commit
1cf41bf49f
@ -124,15 +124,7 @@ namespace GameRes
|
||||
public Stream Source { get { m_input.Position = 0; return m_input.AsStream; } }
|
||||
public ImageFormat SourceFormat { get { return null; } }
|
||||
public ImageMetaData Info { get; protected set; }
|
||||
public ImageData Image
|
||||
{
|
||||
get
|
||||
{
|
||||
if (null == m_image)
|
||||
m_image = GetImageData();
|
||||
return m_image;
|
||||
}
|
||||
}
|
||||
public ImageData Image { get { return m_image ?? (m_image = GetImageData()); } }
|
||||
|
||||
protected BinaryImageDecoder (IBinaryStream input)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user