mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Logiqx XML DATs can be... weird. Route them through the other reader
This commit is contained in:
@@ -303,6 +303,16 @@ namespace SabreTools.Helper
|
||||
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>
|
||||
/// Clean a game (or rom) name to the WoD standard
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user