(DetectFileTypes): recognize RLE-compressed TGA images.

This commit is contained in:
morkt 2016-03-22 06:59:09 +04:00
parent 65d04bc1c2
commit 477d94552a

View File

@ -140,7 +140,7 @@ namespace GameRes.Formats.SuperNekoX
else else
signature = reader.ReadUInt32(); signature = reader.ReadUInt32();
IResource res; IResource res;
if (0x020000 == signature) if (0x020000 == signature || 0x0A0000 == signature)
res = ImageFormat.Tga; res = ImageFormat.Tga;
else else
res = AutoEntry.DetectFileType (signature); res = AutoEntry.DetectFileType (signature);