mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(LstOpener.OpenNexton): removed redundant check.
This commit is contained in:
@@ -105,8 +105,6 @@ namespace GameRes.Formats.Nexton
|
|||||||
key |= key << 8;
|
key |= key << 8;
|
||||||
key |= key << 16;
|
key |= key << 16;
|
||||||
int count = (int)(lst.View.ReadUInt32 (0) ^ key);
|
int count = (int)(lst.View.ReadUInt32 (0) ^ key);
|
||||||
if (0 == count)
|
|
||||||
return null;
|
|
||||||
if (count <= 0 || (4 + count*0x4c) > lst.MaxOffset)
|
if (count <= 0 || (4 + count*0x4c) > lst.MaxOffset)
|
||||||
return null;
|
return null;
|
||||||
var cp932 = Encodings.cp932.WithFatalFallback();
|
var cp932 = Encodings.cp932.WithFatalFallback();
|
||||||
|
|||||||
Reference in New Issue
Block a user