mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(G00): increased entries limit.
This commit is contained in:
@@ -77,7 +77,7 @@ namespace GameRes.Formats.RealLive
|
|||||||
if (0 == width || width > 0x8000 || 0 == height || height > 0x8000)
|
if (0 == width || width > 0x8000 || 0 == height || height > 0x8000)
|
||||||
return null;
|
return null;
|
||||||
int count = file.View.ReadInt16 (5);
|
int count = file.View.ReadInt16 (5);
|
||||||
if (count <= 1 || count > 0x100)
|
if (count <= 1 || count > 0x1000)
|
||||||
return null;
|
return null;
|
||||||
var base_name = Path.GetFileNameWithoutExtension (file.Name);
|
var base_name = Path.GetFileNameWithoutExtension (file.Name);
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ namespace GameRes.Formats.RealLive
|
|||||||
if (2 == type)
|
if (2 == type)
|
||||||
{
|
{
|
||||||
int count = file.ReadInt32();
|
int count = file.ReadInt32();
|
||||||
if (count <= 0 || count > 0x100)
|
if (count <= 0 || count > 0x1000)
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user