diff --git a/CHANGELIST.md b/CHANGELIST.md index dec58e74..f58a5110 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -16,6 +16,7 @@ - Update redumper to build 611 - IsAudio cleanup - IsAudio cleanup cleanup +- Remove dead code in DIC processor ### 3.3.2 (2025-06-12) diff --git a/MPF.Processors/DiscImageCreator.cs b/MPF.Processors/DiscImageCreator.cs index ea6c5cf6..cee797c9 100644 --- a/MPF.Processors/DiscImageCreator.cs +++ b/MPF.Processors/DiscImageCreator.cs @@ -149,8 +149,6 @@ namespace MPF.Processors /// public override void GenerateSubmissionInfo(SubmissionInfo info, MediaType? mediaType, string basePath, bool redumpCompat) { - var outputDirectory = Path.GetDirectoryName(basePath); - // Ensure that required sections exist info = Builder.EnsureAllSections(info); @@ -576,11 +574,6 @@ namespace MPF.Processors // Remove the extension by default outputFilename = Path.GetFileNameWithoutExtension(outputFilename); - // Assemble the base path - string basePath = Path.GetFileNameWithoutExtension(outputFilename); - if (!string.IsNullOrEmpty(outputDirectory)) - basePath = Path.Combine(outputDirectory, basePath); - switch (mediaType) { case MediaType.CDROM: