From f97c112a53a4f4d49b74e8cea35d91c0fb5fec64 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 30 Oct 2023 18:44:08 -0400 Subject: [PATCH] Remove duplicate check --- CHANGELIST.md | 1 + MPF.Core/Modules/Redumper/Parameters.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELIST.md b/CHANGELIST.md index 1971b807..224d6dab 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -19,6 +19,7 @@ - Remove .manufacturer for Bluray - Fix typo that disables DIC during media check (Deterous) - Fix build +- Remove duplicate check ### 2.7.3 (2023-10-26) diff --git a/MPF.Core/Modules/Redumper/Parameters.cs b/MPF.Core/Modules/Redumper/Parameters.cs index 9478e411..7f51a65d 100644 --- a/MPF.Core/Modules/Redumper/Parameters.cs +++ b/MPF.Core/Modules/Redumper/Parameters.cs @@ -267,7 +267,7 @@ namespace MPF.Core.Modules.Redumper missingFiles.Add($"{basePath}.dat"); if (!File.Exists($"{basePath}.manufacturer") && !File.Exists($"{basePath}.1.manufacturer") && !File.Exists($"{basePath}.2.manufacturer")) missingFiles.Add($"{basePath}.manufacturer"); - if (!File.Exists($"{basePath}.physical") && !File.Exists($"{basePath}.physical") && !File.Exists($"{basePath}.1.physical") && !File.Exists($"{basePath}.2.physical")) + if (!File.Exists($"{basePath}.physical") && !File.Exists($"{basePath}.1.physical") && !File.Exists($"{basePath}.2.physical")) missingFiles.Add($"{basePath}.physical"); if (!File.Exists($"{basePath}.state")) missingFiles.Add($"{basePath}.state"); @@ -282,7 +282,7 @@ namespace MPF.Core.Modules.Redumper missingFiles.Add($"{basePath}.log"); else if (GetDatfile($"{basePath}.log") == null) missingFiles.Add($"{basePath}.dat"); - if (!File.Exists($"{basePath}.physical") && !File.Exists($"{basePath}.physical") && !File.Exists($"{basePath}.1.physical") && !File.Exists($"{basePath}.2.physical")) + if (!File.Exists($"{basePath}.physical") && !File.Exists($"{basePath}.1.physical") && !File.Exists($"{basePath}.2.physical")) missingFiles.Add($"{basePath}.physical"); if (!File.Exists($"{basePath}.state")) missingFiles.Add($"{basePath}.state");