mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 13:40:50 -05:00
fix signed g7id display
>2^31 would show a negative G7SID, no more!
This commit is contained in:
parent
012f6678ba
commit
d6dc8a0410
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user