(ArchPacOpener.OpenRawImage): adjusted signature check.

This commit is contained in:
morkt 2018-09-10 18:18:19 +04:00
parent 2906ab1e5b
commit f858e0807d

View File

@ -204,7 +204,7 @@ namespace GameRes.Formats.Seraphim
{
uint width = input.ReadUInt16();
uint height = input.ReadUInt16();
if (width > 0x4300 || 0 == width || 0 == height || width * height * 3 + 4 != input.Length)
if (width > 0x4100 || 0 == width || 0 == height || width * height * 3 + 4 != input.Length)
{
input.Position = 0;
return new ImageFormatDecoder (input);