mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(ArchPacOpener.OpenRawImage): adjusted signature check.
This commit is contained in:
parent
2906ab1e5b
commit
f858e0807d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user