Skip to content

Commit 4564e20

Browse files
committed
Fix some violations of SA1509 (opening braces should not be preceded by blank line). Don't enable it because it flags some silly things.
1 parent e68f8a0 commit 4564e20

File tree

7 files changed

+0
-11
lines changed

7 files changed

+0
-11
lines changed

src/BizHawk.Bizware.Input/SDL2/SDL2Gamepad.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,4 +367,3 @@ public void SetVibration(int left, int right)
367367
}
368368
}
369369
}
370-

src/BizHawk.Emulation.Cores/Computers/AmstradCPC/Hardware/Disk/NECUPD765.FDD.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ public FloppyDisk.Sector FindSector(ref byte[] resBuffer, CommandParameters prms
387387
index = 0;
388388
lc++;
389389
}
390-
391390
} while (lc < 2);
392391
393392
if ((resBuffer[RS_ST2] & 0x02) != 0)
@@ -653,7 +652,6 @@ public void RunSeekCycle()
653652
// we are seeking forward
654653
var delta = SeekingTrack - CurrentTrack;
655654
MoveHead(SkipDirection.Increment, delta);
656-
657655
}
658656
else if (CurrentTrack > SeekingTrack)
659657
{
@@ -730,7 +728,6 @@ public void SeekDone()
730728
FLAG_SEEK_INTERRUPT = true;
731729
732730
//CurrentState = DriveMainState.None;
733-
734731
}
735732
*/
736733

src/BizHawk.Emulation.Cores/Computers/AmstradCPC/Media/Disk/FloppyDisk.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ protected virtual void SpeedlockDetection()
492492
sec.SectorData = data.ToArray();
493493
sec.ContainsMultipleWeakSectors = true;
494494
sec.ActualDataByteLength = data.Count;
495-
496495
}
497496
*/
498497

src/BizHawk.Emulation.Cores/Computers/SinclairSpectrum/Hardware/Disk/NECUPD765.FDD.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ public FloppyDisk.Sector FindSector(ref byte[] resBuffer, CommandParameters prms
380380
index = 0;
381381
lc++;
382382
}
383-
384383
} while (lc < 2);
385384
386385
if ((resBuffer[RS_ST2] & 0x02) != 0)
@@ -646,7 +645,6 @@ public void RunSeekCycle()
646645
// we are seeking forward
647646
var delta = SeekingTrack - CurrentTrack;
648647
MoveHead(SkipDirection.Increment, delta);
649-
650648
}
651649
else if (CurrentTrack > SeekingTrack)
652650
{
@@ -723,7 +721,6 @@ public void SeekDone()
723721
FLAG_SEEK_INTERRUPT = true;
724722
725723
//CurrentState = DriveMainState.None;
726-
727724
}
728725
*/
729726

src/BizHawk.Emulation.Cores/Computers/SinclairSpectrum/Media/Disk/FloppyDisk.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ protected virtual void SpeedlockDetection()
492492
sec.SectorData = data.ToArray();
493493
sec.ContainsMultipleWeakSectors = true;
494494
sec.ActualDataByteLength = data.Count;
495-
496495
}
497496
*/
498497

src/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/PPU.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ public void tick()
7878
Core._vidbuffer[(int)(Math.Round(x_pos) + 1 + 260 * (Math.Round(y_pos) - 1))] |= (int)(br & bright_int_3);
7979
Core._vidbuffer[(int)(Math.Round(x_pos) - 1 + 260 * (Math.Round(y_pos) + 1))] |= (int)(br & bright_int_3);
8080
Core._vidbuffer[(int)(Math.Round(x_pos) - 1 + 260 * (Math.Round(y_pos) - 1))] |= (int)(br & bright_int_3);
81-
8281
}
8382
*/
8483
}

src/BizHawk.Emulation.DiscSystem/Internal/Algorithms/ECM.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ static FFUtil()
302302
for (int i = 255; i < 512; i++)
303303
gf_exp[i] = gf_exp[(byte)(i - 255)];
304304
}
305-
306305
} //static class FFUtil
307306
#endif
308307
}

0 commit comments

Comments
 (0)