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,8 +91,7 @@ public partial class Device
|
||||
if(readLong)
|
||||
cdb[5] += 0x40;
|
||||
|
||||
if(!inhibitDma &&
|
||||
!readLong)
|
||||
if(!inhibitDma && !readLong)
|
||||
buffer = transferLength == 0 ? new byte[256 * blockSize] : new byte[transferLength * blockSize];
|
||||
else if(readLong)
|
||||
{
|
||||
@@ -172,8 +171,7 @@ public partial class Device
|
||||
if(readLong)
|
||||
cdb[9] += 0x40;
|
||||
|
||||
if(!inhibitDma &&
|
||||
!readLong)
|
||||
if(!inhibitDma && !readLong)
|
||||
buffer = new byte[transferLength * blockSize];
|
||||
else if(readLong)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user