mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
changed image resource draft.
This commit is contained in:
@@ -37,9 +37,7 @@ namespace GameRes.Formats.??????
|
|||||||
|
|
||||||
public override ImageData Read (Stream stream, ImageMetaData info)
|
public override ImageData Read (Stream stream, ImageMetaData info)
|
||||||
{
|
{
|
||||||
var meta = info as xxxMetaData;
|
var meta = (xxxMetaData)info;
|
||||||
if (null == meta)
|
|
||||||
throw new ArgumentException ("xxxFormat.Read should be supplied with xxxMetaData", "info");
|
|
||||||
|
|
||||||
return ImageData.Create (info, format, palette, pixels);
|
return ImageData.Create (info, format, palette, pixels);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user