From 02b43438271f06f4ccd78f1a617e7ba40aa6ad6d Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 2 Aug 2020 08:25:04 -0700 Subject: [PATCH] Update SAV3XD.cs --- PKHeX.Core/Saves/SAV3XD.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKHeX.Core/Saves/SAV3XD.cs b/PKHeX.Core/Saves/SAV3XD.cs index 74db90eb0..86b1a71dc 100644 --- a/PKHeX.Core/Saves/SAV3XD.cs +++ b/PKHeX.Core/Saves/SAV3XD.cs @@ -133,7 +133,7 @@ protected override byte[] GetFinalData() private byte[] GetInnerData() { // Set Memo Back - // StrategyMemo.Write().CopyTo(Data, Memo); + StrategyMemo.Write(); // .CopyTo(Data, Memo); ShadowInfo.Write().CopyTo(Data, Shadow); SetChecksums(); @@ -209,7 +209,7 @@ public override string ChecksumInfo private static byte[] SetChecksums(byte[] input, int subOffset0) { - if (input.Length != 0x28000) + if (input.Length != SLOT_SIZE) throw new ArgumentException("Input should be a slot, not the entire save binary."); byte[] data = (byte[])input.Clone();