mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Only show warning about Red Book extensions if disc contains audio tracks.
This commit is contained in:
@@ -284,12 +284,8 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
}
|
||||
|
||||
_dumpLog.WriteLine("Drive can read without subchannel...");
|
||||
_dumpLog.WriteLine("WARNING: If disc says CD+G, CD+EG, CD-MIDI, CD Graphics or CD Enhanced Graphics, dump will be incorrect!");
|
||||
UpdateStatus?.Invoke("Drive can read without subchannel...");
|
||||
|
||||
UpdateStatus?.
|
||||
Invoke("WARNING: If disc says CD+G, CD+EG, CD-MIDI, CD Graphics or CD Enhanced Graphics, dump will be incorrect!");
|
||||
|
||||
subSize = 0;
|
||||
subType = TrackSubchannelType.None;
|
||||
|
||||
@@ -442,6 +438,15 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
tracks = trkList.ToArray();
|
||||
}
|
||||
|
||||
if(tracks.Any(t => t.TrackType == TrackType.Audio) &&
|
||||
supportedSubchannel != MmcSubchannel.Raw)
|
||||
{
|
||||
_dumpLog.WriteLine("WARNING: If disc says CD+G, CD+EG, CD-MIDI, CD Graphics or CD Enhanced Graphics, dump will be incorrect!");
|
||||
|
||||
UpdateStatus?.
|
||||
Invoke("WARNING: If disc says CD+G, CD+EG, CD-MIDI, CD Graphics or CD Enhanced Graphics, dump will be incorrect!");
|
||||
}
|
||||
|
||||
// Check mode for tracks
|
||||
for(int t = 0; t < tracks.Length; t++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user