Default should be the last thing checked

This commit is contained in:
Matt Nadareski
2016-05-09 15:14:44 -07:00
parent a8b4c6d899
commit 2d6be19e14

View File

@@ -455,6 +455,12 @@ 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);