mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-25 01:45:14 -05:00
Fixed file size being altered when loading a dsv save (#316)
This commit is contained in:
@@ -608,7 +608,7 @@ internal static void CheckHeaderFooter(ref byte[] input, ref byte[] header, ref
|
||||
if (dsv)
|
||||
{
|
||||
footer = input.Skip(SIZE_G4RAW).ToArray();
|
||||
input = input.Take(footer.Length).ToArray();
|
||||
input = input.Take(SIZE_G4RAW).ToArray();
|
||||
}
|
||||
}
|
||||
if (input.Length == SIZE_G3BOXGCI)
|
||||
|
||||
Reference in New Issue
Block a user