mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 05:38:48 +08:00
fix: NPK version
This commit is contained in:
@@ -109,7 +109,7 @@ namespace GameRes.Formats.NitroPlus
|
||||
|
||||
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);
|
||||
if (!IsSaneCount (count))
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user