mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +08:00
(LstOpener.OpenNexton): removed redundant check.
This commit is contained in:
parent
dd3d87aff7
commit
1aa82884bd
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user