[DatFile] Remove adding empty rom for non-SD DATs

This commit is contained in:
Matt Nadareski
2016-10-07 09:45:32 -07:00
parent e788d0f977
commit da0b25bd78
2 changed files with 0 additions and 19 deletions

View File

@@ -2991,23 +2991,6 @@ namespace SabreTools.Helper
break;
}
}
// If we didn't find any items in the folder, make sure to add the blank rom
if (empty)
{
tempname = (parent.Count > 0 ? String.Join("\\", parent) + Path.DirectorySeparatorChar : "") + tempname;
Rom inrom = new Rom("null", tempname);
// Now process and add the rom
ParseAddHelper(inrom, gamename, romname, romtype, sgt, slt, seq, crc, md5, sha1, itemStatus, trim, single, root, clean, logger, out key);
// Regardless, end the current folder
if (parent.Count == 0)
{
empty = true;
}
}
xtr.Skip();
break;
case "dir":

View File

@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace SabreTools.Helper
{