[DatFile] Allow for blank string names but not null names

This commit is contained in:
Matt Nadareski
2016-10-03 10:13:24 -07:00
parent a3112681f2
commit 6d5bbfedd9

View File

@@ -4018,7 +4018,7 @@ namespace SabreTools.Helper
key = ""; key = "";
// If there's no name in the rom, we log and skip it // If there's no name in the rom, we log and skip it
if (String.IsNullOrEmpty(item.Name)) if (item.Name == null)
{ {
logger.Warning("Rom with no name found! Skipping..."); logger.Warning("Rom with no name found! Skipping...");
return; return;