mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Make sure in DFD that roms always have a name
This commit is contained in:
@@ -365,6 +365,10 @@ namespace SabreTools.Helper.Dats
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Sanitize the names
|
// Sanitize the names
|
||||||
|
if (romname == null)
|
||||||
|
{
|
||||||
|
romname = "";
|
||||||
|
}
|
||||||
if (gamename.StartsWith(Path.DirectorySeparatorChar.ToString()))
|
if (gamename.StartsWith(Path.DirectorySeparatorChar.ToString()))
|
||||||
{
|
{
|
||||||
gamename = gamename.Substring(1);
|
gamename = gamename.Substring(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user