From fbef94f63465d8c56a214bf1bca6319e5d9f34ef Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 12 Nov 2021 11:06:27 -0800 Subject: [PATCH] Only exclude Audio CDs from offset writing --- MPF.Modules/DiscImageCreator/Parameters.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MPF.Modules/DiscImageCreator/Parameters.cs b/MPF.Modules/DiscImageCreator/Parameters.cs index afad9416..35c42493 100644 --- a/MPF.Modules/DiscImageCreator/Parameters.cs +++ b/MPF.Modules/DiscImageCreator/Parameters.cs @@ -386,8 +386,8 @@ namespace MPF.Modules.DiscImageCreator info.TracksAndWriteOffsets.Cuesheet = GetFullFile(basePath + ".cue") ?? ""; var cueSheet = new CueSheet(basePath + ".cue"); // TODO: Do something with this - // Audio discs "all have an offset of 0" and should not be included - if (!System.IsAudio()) + // Audio CDs "all have an offset of 0" and should not be included + if (System != RedumpSystem.AudioCD) { string cdWriteOffset = GetWriteOffset(basePath + "_disc.txt") ?? ""; info.CommonDiscInfo.RingWriteOffset = cdWriteOffset;