mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-07 14:18:56 +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 << 16;
|
||||
int count = (int)(lst.View.ReadUInt32 (0) ^ key);
|
||||
if (0 == count)
|
||||
return null;
|
||||
if (count <= 0 || (4 + count*0x4c) > lst.MaxOffset)
|
||||
return null;
|
||||
var cp932 = Encodings.cp932.WithFatalFallback();
|
||||
|
||||
Reference in New Issue
Block a user