mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(ImageMetaData): added FileName property.
This commit is contained in:
parent
d542fe3c59
commit
f355288e97
@ -38,6 +38,7 @@ namespace GameRes
|
||||
public int OffsetX { get; set; }
|
||||
public int OffsetY { get; set; }
|
||||
public int BPP { get; set; }
|
||||
public string FileName { get; set; }
|
||||
}
|
||||
|
||||
public class ImageEntry : Entry
|
||||
@ -158,7 +159,10 @@ namespace GameRes
|
||||
file.Position = 0;
|
||||
ImageMetaData metadata = impl.ReadMetaData (file);
|
||||
if (null != metadata)
|
||||
return new System.Tuple<ImageFormat, ImageMetaData> (impl, metadata);
|
||||
{
|
||||
metadata.FileName = filename;
|
||||
return Tuple.Create (impl, metadata);
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion ("1.1.5.8")]
|
||||
[assembly: AssemblyFileVersion ("1.1.5.8")]
|
||||
[assembly: AssemblyVersion ("1.1.6.8")]
|
||||
[assembly: AssemblyFileVersion ("1.1.6.8")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user