mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
fix info output off by one
This commit is contained in:
parent
552e7a1a39
commit
80ef196468
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ namespace PKHeX.Core
|
|||
public int Offset;
|
||||
public int Length;
|
||||
|
||||
public string Summary => $"{ID:00}: {Offset:X5}-{Offset + Length:X5}, {Length:X5}";
|
||||
public string Summary => $"{ID:00}: {Offset:X5}-{Offset + Length - 1:X5}, {Length:X5}";
|
||||
|
||||
protected abstract bool ChecksumValid(byte[] data);
|
||||
protected abstract void SetChecksum(byte[] data);
|
||||
|
|
Loading…
Reference in a new issue