mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(GAN): hard-coded default image width and height.
currently there's no way to tell what image actual dimensions are.
This commit is contained in:
parent
ad22d60b4d
commit
e061687816
@ -92,10 +92,13 @@ namespace GameRes.Formats.Ikura
|
||||
public readonly ImageMetaData Info;
|
||||
byte[][] Frames;
|
||||
|
||||
const uint DefaultWidth = 800;
|
||||
const uint DefaultHeight = 600;
|
||||
|
||||
public GanFrameArchive (ArcView arc, ArchiveFormat impl, ICollection<Entry> dir)
|
||||
: base (arc, impl, dir)
|
||||
{
|
||||
Info = new ImageMetaData { Width = 640, Height = 480, BPP = 24 };
|
||||
Info = new ImageMetaData { Width = DefaultWidth, Height = DefaultHeight, BPP = 24 };
|
||||
Frames = new byte[dir.Count][];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user