From f858e0807dd388a2f0b74c8481a42163bb5a2862 Mon Sep 17 00:00:00 2001 From: morkt Date: Mon, 10 Sep 2018 18:18:19 +0400 Subject: [PATCH] (ArchPacOpener.OpenRawImage): adjusted signature check. --- ArcFormats/Seraphim/ArcSeraph.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/Seraphim/ArcSeraph.cs b/ArcFormats/Seraphim/ArcSeraph.cs index 61b191f4..1c7d890a 100644 --- a/ArcFormats/Seraphim/ArcSeraph.cs +++ b/ArcFormats/Seraphim/ArcSeraph.cs @@ -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);