mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-25 04:14:13 +08:00
(DetectFileTypes): recognize RLE-compressed TGA images.
This commit is contained in:
parent
65d04bc1c2
commit
477d94552a
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user