diff --git a/ArcFormats/RealLive/ArcG00.cs b/ArcFormats/RealLive/ArcG00.cs index 0ab02113..79cfc470 100644 --- a/ArcFormats/RealLive/ArcG00.cs +++ b/ArcFormats/RealLive/ArcG00.cs @@ -77,7 +77,7 @@ namespace GameRes.Formats.RealLive if (0 == width || width > 0x8000 || 0 == height || height > 0x8000) return null; int count = file.View.ReadInt16 (5); - if (count <= 1 || count > 0x100) + if (count <= 1 || count > 0x1000) return null; var base_name = Path.GetFileNameWithoutExtension (file.Name); diff --git a/ArcFormats/RealLive/ImageG00.cs b/ArcFormats/RealLive/ImageG00.cs index 0ba66bd9..fdc6eaad 100644 --- a/ArcFormats/RealLive/ImageG00.cs +++ b/ArcFormats/RealLive/ImageG00.cs @@ -58,7 +58,7 @@ namespace GameRes.Formats.RealLive if (2 == type) { int count = file.ReadInt32(); - if (count <= 0 || count > 0x100) + if (count <= 0 || count > 0x1000) return null; } else