(TmrHiroAudio): changed signature interpretation.

This commit is contained in:
morkt
2016-02-27 05:24:37 +04:00
parent d5bab948d9
commit 98ddd452fb
2 changed files with 4 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ namespace GameRes.Formats.TmrHiro
entry.Name = Path.ChangeExtension (entry.Name, "grd");
entry.Type = "image";
}
else if (0x44 == signature && entry.Size-9 == file.View.ReadUInt32 (entry.Offset+5))
else if (0x44 == (signature & 0xFF) && entry.Size-9 == file.View.ReadUInt32 (entry.Offset+5))
{
entry.Type = "audio";
}