Add default for missing sources

This commit is contained in:
Matt Nadareski
2016-05-05 10:29:41 -07:00
parent 4e3e3f950c
commit 9ade98bbe9

View File

@@ -435,6 +435,12 @@ Make a selection:
{
RomData rom = newroms[i];
// In the case that the RomData is incomplete, skip it
if (rom.Name == null || rom.Game == null)
{
continue;
}
// WOD origninally stripped out any subdirs from the imported files, we do the same
rom.Name = Path.GetFileName(rom.Name);