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:
File diff suppressed because it is too large
Load Diff
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user