(G00): increased entries limit.

This commit is contained in:
morkt 2017-12-26 19:55:41 +04:00
parent d46821edd1
commit 81bfe4bd33
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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