mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix confusion about priority by making sure sorting takes into account the entire number
This commit is contained in:
@@ -172,7 +172,7 @@ namespace SabreTools.Helper
|
||||
foreach (RomData rom in newroms)
|
||||
{
|
||||
count++;
|
||||
string key = (norename ? "" : rom.SystemID + "-" + rom.SourceID + "-") + rom.Game.ToLowerInvariant();
|
||||
string key = (norename ? "" : rom.SystemID.ToString().PadLeft(10, '0') + "-" + rom.SourceID.ToString().PadLeft(10, '0') + "-") + rom.Game.ToLowerInvariant();
|
||||
if (sortable.ContainsKey(key))
|
||||
{
|
||||
sortable[key].Add(rom);
|
||||
|
||||
Reference in New Issue
Block a user