mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Remove deprecated old XML Device Report code.
This commit is contained in:
@@ -47,7 +47,7 @@ public sealed partial class DeviceReport
|
||||
{
|
||||
/// <summary>Tries and checks reading a GD-ROM disc using the swap disc trick and adds the result to a device report</summary>
|
||||
/// <param name="report">Device report</param>
|
||||
public void ReportGdRomSwapTrick(ref DeviceReportV2 report)
|
||||
public void ReportGdRomSwapTrick(ref CommonTypes.Metadata.DeviceReport report)
|
||||
{
|
||||
report.GdRomSwapDiscCapabilities = new GdRomSwapDiscCapabilities();
|
||||
|
||||
|
||||
@@ -215,14 +215,15 @@ public sealed partial class DeviceReport
|
||||
/// <param name="report">Device report</param>
|
||||
/// <param name="cdromMode">Returns raw MODE SENSE page 2Ah, aka CD-ROM page</param>
|
||||
/// <param name="mediumType">Returns decoded list of supported media types response</param>
|
||||
public void ReportScsiModes(ref DeviceReportV2 report, out byte[] cdromMode, out MediumTypes mediumType)
|
||||
public void ReportScsiModes(ref CommonTypes.Metadata.DeviceReport report, out byte[] cdromMode,
|
||||
out MediumTypes mediumType)
|
||||
{
|
||||
Modes.DecodedMode? decMode = null;
|
||||
PeripheralDeviceTypes devType = _dev.ScsiType;
|
||||
bool sense;
|
||||
mediumType = 0;
|
||||
|
||||
DeviceReportV2 v2 = report;
|
||||
CommonTypes.Metadata.DeviceReport v2 = report;
|
||||
|
||||
Spectre.ProgressSingleSpinner(ctx =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user