[DatFiles/] Create blank games always

This commit is contained in:
Matt Nadareski
2018-03-21 01:59:40 -07:00
parent ecd6a70c8d
commit c72cf056da
6 changed files with 45 additions and 66 deletions

View File

@@ -537,19 +537,16 @@ namespace SabreTools.Library.DatFiles
// If no items were found for this machine, add a Blank placeholder
if (!containsItems)
{
if (this.KeepEmptyGames)
Blank blank = new Blank()
{
Blank blank = new Blank()
{
SystemID = sysid,
System = filename,
SourceID = srcid,
};
blank.CopyMachineInformation(machine);
SystemID = sysid,
System = filename,
SourceID = srcid,
};
blank.CopyMachineInformation(machine);
// Now process and add the rom
ParseAddHelper(blank, clean, remUnicode);
}
// Now process and add the rom
ParseAddHelper(blank, clean, remUnicode);
}
}