mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-27 21:34:14 +08:00
(KG): header variation.
This commit is contained in:
parent
e738da02a1
commit
a4ba1ecdd5
@ -48,7 +48,7 @@ namespace GameRes.Formats.Abogado
|
||||
|
||||
public KgFormat ()
|
||||
{
|
||||
Signatures = new uint[] { 0x0202474B, 0x0102474B };
|
||||
Signatures = new uint[] { 0x0202474B, 0x0102474B, 0x0100474B };
|
||||
}
|
||||
|
||||
public override ImageMetaData ReadMetaData (IBinaryStream file)
|
||||
@ -61,7 +61,7 @@ namespace GameRes.Formats.Abogado
|
||||
BPP = header[3] == 2 ? 24 : 8,
|
||||
PaletteOffset = header.ToInt32 (0xC),
|
||||
DataOffset = header.ToInt32 (0x10),
|
||||
AlphaOffset = header.ToInt32 (0x2C),
|
||||
AlphaOffset = header[2] == 2 ? header.ToInt32 (0x2C) : 0,
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user