mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison.
This commit is contained in:
@@ -709,7 +709,7 @@ partial class Dump
|
||||
subBuf = DeinterleaveQ(cmdBuf);
|
||||
else if(dbDev?.ATAPI?.RemovableMedias?.Any(d => d.SupportsPlextorReadCDDA == true) == true ||
|
||||
dbDev?.SCSI?.RemovableMedias?.Any(d => d.SupportsPlextorReadCDDA == true) == true ||
|
||||
dev.Manufacturer.ToLowerInvariant() == "plextor")
|
||||
dev.Manufacturer.Equals("plextor", StringComparison.InvariantCultureIgnoreCase))
|
||||
sense = dev.PlextorReadCdDa(out cmdBuf, out _, lba, 96, 1, PlextorSubchannel.All, dev.Timeout, out _);
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user