Change CanReadGdRomUsingSwapDisc to nullable.

This commit is contained in:
2020-07-10 20:15:51 +01:00
parent bd86000441
commit 0d88fbf3dd

View File

@@ -59,7 +59,7 @@ namespace Aaru.Dto
GdRomSwapDiscCapabilities = report.GdRomSwapDiscCapabilities;
}
public DeviceDto(DeviceReportV2 report, int id, int optimalMultipleSectorsRead, bool canReadGdRomUsingSwapDisc)
public DeviceDto(DeviceReportV2 report, int id, int optimalMultipleSectorsRead, bool? canReadGdRomUsingSwapDisc)
{
ATA = report.ATA;
ATAPI = report.ATAPI;
@@ -172,7 +172,7 @@ namespace Aaru.Dto
public int OptimalMultipleSectorsRead { get; set; }
public bool CanReadGdRomUsingSwapDisc { get; set; }
public bool? CanReadGdRomUsingSwapDisc { get; set; }
public new int Id { get; set; }