mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +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)
|
||||
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);
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user