Mono doesn't like empty directories

This commit is contained in:
Matt Nadareski
2016-04-20 12:00:16 -07:00
parent c746e9531d
commit eca0015108
2 changed files with 23 additions and 4 deletions

View File

@@ -80,9 +80,11 @@ namespace SabreTools
return;
}
// Make sure that the path provided is real
// Read in the roms from the DAT and then write them to the file
Output.WriteToText(Path.GetDirectoryName(input) + Path.DirectorySeparatorChar + Path.GetFileNameWithoutExtension(input) + "-miss.txt",
RomManipulation.Parse(input, 0, 0, logger), logger, usegame, prefix, postfix);
Path.GetDirectoryName(input), RomManipulation.Parse(input, 0, 0, logger), logger, usegame, prefix, postfix);
}
}
}