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:
@@ -73,8 +73,11 @@ public sealed partial class MaxiDisk
|
||||
if(tmpHeader.bytesPerSector > 7)
|
||||
return ErrorNumber.InvalidArgument;
|
||||
|
||||
int expectedFileSize = tmpHeader.heads * tmpHeader.cylinders * tmpHeader.sectorsPerTrack *
|
||||
(128 << tmpHeader.bytesPerSector) + 8;
|
||||
int expectedFileSize = tmpHeader.heads *
|
||||
tmpHeader.cylinders *
|
||||
tmpHeader.sectorsPerTrack *
|
||||
(128 << tmpHeader.bytesPerSector) +
|
||||
8;
|
||||
|
||||
if(expectedFileSize != stream.Length)
|
||||
return ErrorNumber.InvalidArgument;
|
||||
|
||||
Reference in New Issue
Block a user