From 2d6be19e144576eb5ff16faae6db19cbb7dc247e Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 9 May 2016 15:14:44 -0700 Subject: [PATCH] Default should be the last thing checked --- DATabaseTwo/DATabaseTwo.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DATabaseTwo/DATabaseTwo.cs b/DATabaseTwo/DATabaseTwo.cs index 641e70df..81da2b96 100644 --- a/DATabaseTwo/DATabaseTwo.cs +++ b/DATabaseTwo/DATabaseTwo.cs @@ -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);