mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Remove adding empty rom for non-SD DATs
This commit is contained in:
@@ -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":
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace SabreTools.Helper
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user