mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
fix: NPK version
This commit is contained in:
@@ -109,7 +109,7 @@ namespace GameRes.Formats.NitroPlus
|
|||||||
|
|
||||||
public override ArcFile TryOpen (ArcView file)
|
public override ArcFile TryOpen (ArcView file)
|
||||||
{
|
{
|
||||||
int version = file.View.ReadByte (3);
|
int version = file.View.ReadByte (3) - '0';
|
||||||
int count = file.View.ReadInt32 (0x18);
|
int count = file.View.ReadInt32 (0x18);
|
||||||
if (!IsSaneCount (count))
|
if (!IsSaneCount (count))
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user