mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SabreTools, DatFiles/] Add flag for keeping empty games instead of making it default
This commit is contained in:
@@ -462,11 +462,18 @@ namespace SabreTools.Library.DatFiles
|
||||
break;
|
||||
default:
|
||||
// By default, create a new Blank, just in case
|
||||
datItem = new Blank();
|
||||
if (this.KeepEmptyGames)
|
||||
{
|
||||
datItem = new Blank();
|
||||
}
|
||||
else
|
||||
{
|
||||
datItem = null;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
datItem.CopyMachineInformation(dir);
|
||||
datItem?.CopyMachineInformation(dir);
|
||||
|
||||
// Now process and add the rom
|
||||
key = ParseAddHelper(datItem, clean, remUnicode);
|
||||
|
||||
Reference in New Issue
Block a user