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:
2023-10-04 17:34:40 +01:00
parent bc8bf7a2dc
commit 7363a5d9c5
453 changed files with 7241 additions and 7126 deletions

View File

@@ -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[];