mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
changed image resource draft.
This commit is contained in:
parent
83b61f6d50
commit
1ea054050c
@ -37,9 +37,7 @@ namespace GameRes.Formats.??????
|
||||
|
||||
public override ImageData Read (Stream stream, ImageMetaData info)
|
||||
{
|
||||
var meta = info as xxxMetaData;
|
||||
if (null == meta)
|
||||
throw new ArgumentException ("xxxFormat.Read should be supplied with xxxMetaData", "info");
|
||||
var meta = (xxxMetaData)info;
|
||||
|
||||
return ImageData.Create (info, format, palette, pixels);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user