mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-26 23:24:00 +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;
|
public readonly ImageMetaData Info;
|
||||||
byte[][] Frames;
|
byte[][] Frames;
|
||||||
|
|
||||||
|
const uint DefaultWidth = 800;
|
||||||
|
const uint DefaultHeight = 600;
|
||||||
|
|
||||||
public GanFrameArchive (ArcView arc, ArchiveFormat impl, ICollection<Entry> dir)
|
public GanFrameArchive (ArcView arc, ArchiveFormat impl, ICollection<Entry> dir)
|
||||||
: base (arc, impl, 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][];
|
Frames = new byte[dir.Count][];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user