[FileTools] Fix archive naming

For some reason, headered files are not being rebuilt now... investigating
This commit is contained in:
Matt Nadareski
2016-08-29 20:56:01 -07:00
parent b77cdff0cc
commit baa853fa6e

View File

@@ -75,7 +75,7 @@ namespace SabreTools.Helper
/// <param name="rom">RomData representing the new information</param>
public static void WriteToManagedArchive(string input, string output, Rom rom)
{
string archiveFileName = Path.Combine(output, rom.Machine + ".zip");
string archiveFileName = Path.Combine(output, rom.Machine.Name + ".zip");
// Delete an empty file first
if (File.Exists(archiveFileName) && new FileInfo(archiveFileName).Length == 0)