diff --git a/SabreTools.Helper/Tools/FileTools.cs b/SabreTools.Helper/Tools/FileTools.cs index 2ac33722..117a39a2 100644 --- a/SabreTools.Helper/Tools/FileTools.cs +++ b/SabreTools.Helper/Tools/FileTools.cs @@ -75,7 +75,7 @@ namespace SabreTools.Helper /// RomData representing the new information 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)