(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
signature = reader.ReadUInt32();
IResource res;
if (0x020000 == signature)
if (0x020000 == signature || 0x0A0000 == signature)
res = ImageFormat.Tga;
else
res = AutoEntry.DetectFileType (signature);