Fix GenIII save cloning bug

Just write the save back when cloning; previously, the reserved section
wasn't set back.
This commit is contained in:
Kaphotics
2016-09-11 14:58:03 -07:00
parent 0b52c9a208
commit 418fbb7e22

View File

@@ -152,7 +152,7 @@ public override byte[] Write(bool DSV)
private readonly int[] BlockOfs;
// Configuration
public override SaveFile Clone() { return new SAV3(Data.Take(Box).ToArray(), Version); }
public override SaveFile Clone() { return new SAV3(Write(DSV:false), Version); }
public override int SIZE_STORED => PKX.SIZE_3STORED;
public override int SIZE_PARTY => PKX.SIZE_3PARTY;