Only exclude Audio CDs from offset writing

This commit is contained in:
Matt Nadareski
2021-11-12 11:06:27 -08:00
parent 0e8363f06e
commit fbef94f634

View File

@@ -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;