mirror of
https://github.com/Manu098vm/Switch-Gift-Data-Manager.git
synced 2026-03-21 17:34:31 -05:00
Update checksums after editings
This commit is contained in:
parent
cfd46b8077
commit
0692b19ac3
|
|
@ -136,6 +136,7 @@ public class WC9 : Wondercard
|
|||
|
||||
var FTID = BinaryPrimitives.ReadUInt32LittleEndian(Data.AsSpan(TIDOffset)) - (1000000u * WCID);
|
||||
BinaryPrimitives.WriteUInt32LittleEndian(Data.AsSpan(TIDOffset), FTID);
|
||||
UpdateChecksum();
|
||||
IsBefore201 = true;
|
||||
}
|
||||
|
||||
|
|
@ -146,6 +147,7 @@ public class WC9 : Wondercard
|
|||
|
||||
var FTID = BinaryPrimitives.ReadUInt32LittleEndian(Data.AsSpan(TIDOffset));
|
||||
BinaryPrimitives.WriteUInt32LittleEndian(Data.AsSpan(TIDOffset), FTID + (1000000u * WCID));
|
||||
UpdateChecksum();
|
||||
IsBefore201 = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user