Remove deprecated old XML Device Report code.

This commit is contained in:
2022-12-15 01:47:12 +00:00
parent aca11571c5
commit 157a04b9ca
8 changed files with 16 additions and 16 deletions

View File

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

View File

@@ -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 =>
{