fix signed g7id display

>2^31 would show a negative G7SID, no more!
This commit is contained in:
Kurt 2021-03-20 19:38:01 -07:00
parent 012f6678ba
commit d6dc8a0410

View File

@ -20,7 +20,7 @@ public void UpdateTSV()
return;
string IDstr = $"TSV: {tsv:d4}";
var repack = (Trainer.SID * 1_000_000) + Trainer.TID;
var repack = (uint)((Trainer.SID * 1_000_000) + Trainer.TID);
string supplement = Format < 7
? $"G7ID: ({repack / 1_000_000:D4}){repack % 1_000_000:D6}"