[Output] No game starts with a directory separator

This commit is contained in:
Matt Nadareski
2016-05-30 11:21:46 -07:00
parent 26706891d9
commit 9b39fdc27a

View File

@@ -235,6 +235,12 @@ namespace SabreTools.Helper
{
try
{
// No game should start with a path separator
if (rom.Game.StartsWith(Path.DirectorySeparatorChar.ToString()))
{
rom.Game = rom.Game.Substring(1);
}
string state = "";
switch (datdata.OutputFormat)
{