mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 19:36:46 -05:00
Update SAV3XD.cs
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user