mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted. This is now done with Rider-stable.
This commit is contained in:
@@ -91,9 +91,7 @@ public sealed partial class RsIde
|
||||
}
|
||||
}
|
||||
|
||||
if(_imageInfo.Cylinders == 0 ||
|
||||
_imageInfo.Heads == 0 ||
|
||||
_imageInfo.SectorsPerTrack == 0)
|
||||
if(_imageInfo.Cylinders == 0 || _imageInfo.Heads == 0 || _imageInfo.SectorsPerTrack == 0)
|
||||
{
|
||||
_imageInfo.Cylinders = (uint)(_imageInfo.Sectors / 16 / 63);
|
||||
_imageInfo.Heads = 16;
|
||||
@@ -135,8 +133,7 @@ public sealed partial class RsIde
|
||||
{
|
||||
buffer = null;
|
||||
|
||||
if(!_imageInfo.ReadableMediaTags.Contains(tag) ||
|
||||
tag != MediaTagType.ATA_IDENTIFY)
|
||||
if(!_imageInfo.ReadableMediaTags.Contains(tag) || tag != MediaTagType.ATA_IDENTIFY)
|
||||
return ErrorNumber.NotSupported;
|
||||
|
||||
buffer = _identify?.Clone() as byte[];
|
||||
|
||||
Reference in New Issue
Block a user