mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Pathing wasn't working correctly
This commit is contained in:
@@ -92,13 +92,11 @@ namespace SabreTools
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get the full input name
|
||||||
|
input = Path.GetFullPath(input);
|
||||||
|
|
||||||
// Get the output name
|
// Get the output name
|
||||||
string name = Path.GetDirectoryName(input);
|
string name = Path.GetFileNameWithoutExtension(input) + "-miss.txt";
|
||||||
if (!name.EndsWith(Path.DirectorySeparatorChar.ToString()))
|
|
||||||
{
|
|
||||||
name += Path.DirectorySeparatorChar;
|
|
||||||
}
|
|
||||||
name += Path.GetFileNameWithoutExtension(input) + "-miss.txt";
|
|
||||||
|
|
||||||
// Read in the roms from the DAT and then write them to the file
|
// Read in the roms from the DAT and then write them to the file
|
||||||
Output.WriteToText(name, Path.GetDirectoryName(input), RomManipulation.Parse(input, 0, 0, logger), logger, usegame, prefix, postfix, addext, repext, quotes);
|
Output.WriteToText(name, Path.GetDirectoryName(input), RomManipulation.Parse(input, 0, 0, logger), logger, usegame, prefix, postfix, addext, repext, quotes);
|
||||||
|
|||||||
Reference in New Issue
Block a user