diff --git a/DATabaseTwo/DATabaseTwo.cs b/DATabaseTwo/DATabaseTwo.cs index 81da2b96..78f5be6c 100644 --- a/DATabaseTwo/DATabaseTwo.cs +++ b/DATabaseTwo/DATabaseTwo.cs @@ -455,12 +455,6 @@ Make a selection: 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 rom.Name = Path.GetFileName(rom.Name); @@ -485,6 +479,13 @@ Make a selection: { 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); } roms[key] = temp;