mirror of
https://github.com/lifegpc/GARbro.git
synced 2026-06-06 05:28:49 +08:00
(BinaryImageDecoder.Image): null coalesce.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user