mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +08:00
(CB): added common signature.
This commit is contained in:
parent
c4383ebd2c
commit
be5a951513
@ -120,6 +120,12 @@ namespace GameRes.Formats.Seraphim
|
|||||||
public override string Description { get { return "Seraphim engine image format"; } }
|
public override string Description { get { return "Seraphim engine image format"; } }
|
||||||
public override uint Signature { get { return 0; } }
|
public override uint Signature { get { return 0; } }
|
||||||
|
|
||||||
|
public SeraphCbImage ()
|
||||||
|
{
|
||||||
|
// common case for 256-colors images
|
||||||
|
Signatures = new uint[] { 0x01004243, 0 };
|
||||||
|
}
|
||||||
|
|
||||||
public override ImageMetaData ReadMetaData (IBinaryStream stream)
|
public override ImageMetaData ReadMetaData (IBinaryStream stream)
|
||||||
{
|
{
|
||||||
var header = stream.ReadHeader (0x10);
|
var header = stream.ReadHeader (0x10);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user