Fix force in CD dump when subchannels are not supported by image.

This commit is contained in:
2020-01-01 23:09:38 +00:00
parent 5b38c9a4bc
commit 17c5e912c9

View File

@@ -207,8 +207,8 @@ namespace DiscImageChef.Core.Devices.Dumping
if(!_outputPlugin.SupportedSectorTags.Contains(SectorTagType.CdSectorSubchannel) &&
supportedSubchannel != MmcSubchannel.None)
{
if(!_force ||
_subchannel != DumpSubchannel.Any)
if(_force ||
_subchannel == DumpSubchannel.None)
{
_dumpLog.WriteLine("Output format does not support subchannels, continuing...");
UpdateStatus?.Invoke("Output format does not support subchannels, continuing...");