From be5a951513362978bdf6de357f22cb9ffdb47c7d Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 9 Sep 2018 17:25:55 +0400 Subject: [PATCH] (CB): added common signature. --- ArcFormats/Seraphim/ImageSeraph.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ArcFormats/Seraphim/ImageSeraph.cs b/ArcFormats/Seraphim/ImageSeraph.cs index acc6b9bf..9f9b43b2 100644 --- a/ArcFormats/Seraphim/ImageSeraph.cs +++ b/ArcFormats/Seraphim/ImageSeraph.cs @@ -120,6 +120,12 @@ namespace GameRes.Formats.Seraphim public override string Description { get { return "Seraphim engine image format"; } } 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) { var header = stream.ReadHeader (0x10);