mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix outputted DAT information
This commit is contained in:
@@ -621,9 +621,7 @@ Make a selection:
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// At an unspecified future date, this will also include the following currently-separate programs:
|
||||
/// - MergeDAT
|
||||
/// - DATFromDir
|
||||
/// - DatToMiss
|
||||
/// </remarks>
|
||||
private static void DatToolsMenu()
|
||||
{
|
||||
|
||||
@@ -112,8 +112,8 @@ namespace SabreTools
|
||||
}
|
||||
|
||||
// Now write the file out accordingly
|
||||
Output.WriteToDat(Path.GetFileNameWithoutExtension(filename),
|
||||
Path.GetFileNameWithoutExtension(filename), "", "", "", "", _forceunpack, !RomManipulation.IsXmlDat(filename), Path.GetDirectoryName(filename), outroms, _logger);
|
||||
Output.WriteToDat(RomManipulation.GetDatName(filename, _logger), RomManipulation.GetDatDescription(filename, _logger),
|
||||
"", "", "", "", _forceunpack, !RomManipulation.IsXmlDat(filename), Path.GetDirectoryName(filename), outroms, _logger);
|
||||
|
||||
// Remove the original file if different and inform the user
|
||||
if (Path.GetExtension(filename) != (RomManipulation.IsXmlDat(filename) ? ".xml" : ".dat"))
|
||||
|
||||
Reference in New Issue
Block a user