(Tmr-Hiro): tweak CG archives detection.

This commit is contained in:
morkt 2016-09-02 09:35:05 +04:00
parent 3ae88edda1
commit 5e61afc9f4

View File

@ -96,7 +96,7 @@ namespace GameRes.Formats.TmrHiro
entry.Name = Path.ChangeExtension (entry.Name, "ogg");
entry.Type = "audio";
}
else if ((((signature & 0xFF) == 1 || (signature & 0xFF) == 2)) && arc_name.EndsWith ("grd"))
else if ((((signature & 0xFF) == 1 || (signature & 0xFF) == 2)) && arc_name.Contains ("grd"))
{
entry.Name = Path.ChangeExtension (entry.Name, "grd");
entry.Type = "image";