[DatFile] Logiqx XML DATs can be... weird. Route them through the other reader

This commit is contained in:
Matt Nadareski
2016-09-30 11:41:35 -07:00
parent c89c805ce1
commit 810bbf501a
2 changed files with 85 additions and 892 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -303,6 +303,16 @@ namespace SabreTools.Helper
return outfile; return outfile;
} }
/// <summary>
/// Clean a rom name from invalid characters
/// </summary>
/// <param name="name">Name of the item to be cleaned</param>
/// <returns>The cleaned name</returns>
public static string CleanRomName(string name)
{
return new string(name.Where(c => !char.IsControl(c)).ToArray());
}
/// <summary> /// <summary>
/// Clean a game (or rom) name to the WoD standard /// Clean a game (or rom) name to the WoD standard
/// </summary> /// </summary>