[SabreTools, README, DatFiles] Add prefix/postfix everywhere

This commit is contained in:
Matt Nadareski
2018-02-24 13:14:58 -08:00
parent 8b9ac5dca5
commit b92cfd8455
14 changed files with 68 additions and 11 deletions

View File

@@ -829,6 +829,11 @@ namespace SabreTools.Library.DatFiles
try
{
string state = "", prefix = "";
// Pre-process the item name
rom.Name = CreatePrefixPostfix(rom, true) + rom.Name + CreatePrefixPostfix(rom, false);
rom.Name = rom.Name.Replace("\"", ""); // Quotes are not needed here
for (int i = 0; i < depth; i++)
{
prefix += "\t";