mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
removed header length check.
This commit is contained in:
parent
ed9ae05853
commit
68493ede0f
@ -97,7 +97,7 @@ namespace GameRes.Formats.Entis
|
|||||||
using (var reader = new ArcView.Reader (stream))
|
using (var reader = new ArcView.Reader (stream))
|
||||||
{
|
{
|
||||||
var section = ReadEriSection (reader);
|
var section = ReadEriSection (reader);
|
||||||
if (section.Id != "Header " || section.Length <= 0 || section.Length > 0x200)
|
if (section.Id != "Header " || section.Length <= 0)
|
||||||
return null;
|
return null;
|
||||||
int header_size = (int)section.Length;
|
int header_size = (int)section.Length;
|
||||||
int stream_pos = 0x50 + header_size;
|
int stream_pos = 0x50 + header_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user