mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move SecureDigital / MultiMediaCard device reporting to non-static class and its UI to CLI.
This commit is contained in:
@@ -34,7 +34,6 @@ using System;
|
||||
using System.IO;
|
||||
using DiscImageChef.CommonTypes.Metadata;
|
||||
using DiscImageChef.Console;
|
||||
using DiscImageChef.Core.Devices.Report;
|
||||
using DiscImageChef.Core.Devices.Report.SCSI;
|
||||
using DiscImageChef.Devices;
|
||||
using Newtonsoft.Json;
|
||||
@@ -141,11 +140,14 @@ namespace DiscImageChef.Commands
|
||||
Ata.Report(dev, ref report, options.Debug, ref removable);
|
||||
break;
|
||||
case DeviceType.MMC:
|
||||
report.MultiMediaCard = reporter.MmcSdReport();
|
||||
break;
|
||||
case DeviceType.SecureDigital:
|
||||
SecureDigital.Report(dev, ref report);
|
||||
report.SecureDigital = reporter.MmcSdReport();
|
||||
break;
|
||||
case DeviceType.NVMe:
|
||||
throw new NotImplementedException("NVMe devices not yet supported.");
|
||||
|
||||
break;
|
||||
case DeviceType.ATAPI:
|
||||
case DeviceType.SCSI:
|
||||
|
||||
Reference in New Issue
Block a user