Fixed file size being altered when loading a dsv save (#316)

This commit is contained in:
Evan Dixon 2016-10-11 09:44:28 -05:00 committed by Kaphotics
parent 43c036641d
commit ab413b4ddc

View file

@ -608,7 +608,7 @@ namespace PKHeX
if (dsv) if (dsv)
{ {
footer = input.Skip(SIZE_G4RAW).ToArray(); footer = input.Skip(SIZE_G4RAW).ToArray();
input = input.Take(footer.Length).ToArray(); input = input.Take(SIZE_G4RAW).ToArray();
} }
} }
if (input.Length == SIZE_G3BOXGCI) if (input.Length == SIZE_G3BOXGCI)