mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 07:34:00 +08:00
(G00): increased entries limit.
This commit is contained in:
parent
d46821edd1
commit
81bfe4bd33
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user