fix info output off by one

This commit is contained in:
Kurt 2019-01-01 20:05:00 -08:00
parent 552e7a1a39
commit 80ef196468

View file

@ -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);