mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
..needs to be after it's used for naming
This commit is contained in:
@@ -455,12 +455,6 @@ Make a selection:
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If a game has source "0" it's Default. Make this Int32.MaxValue for sorting purposes
|
|
||||||
if (rom.SourceID == 0)
|
|
||||||
{
|
|
||||||
rom.SourceID = Int32.MaxValue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// WOD origninally stripped out any subdirs from the imported files, we do the same
|
// WOD origninally stripped out any subdirs from the imported files, we do the same
|
||||||
rom.Name = Path.GetFileName(rom.Name);
|
rom.Name = Path.GetFileName(rom.Name);
|
||||||
|
|
||||||
@@ -485,6 +479,13 @@ Make a selection:
|
|||||||
{
|
{
|
||||||
rom.Game += " [" + sources[rom.SourceID] + "]";
|
rom.Game += " [" + sources[rom.SourceID] + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If a game has source "0" it's Default. Make this Int32.MaxValue for sorting purposes
|
||||||
|
if (rom.SourceID == 0)
|
||||||
|
{
|
||||||
|
rom.SourceID = Int32.MaxValue;
|
||||||
|
}
|
||||||
|
|
||||||
temp.Add(rom);
|
temp.Add(rom);
|
||||||
}
|
}
|
||||||
roms[key] = temp;
|
roms[key] = temp;
|
||||||
|
|||||||
Reference in New Issue
Block a user