Skip to content

Commit

Permalink
make CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Morilli committed Oct 9, 2024
1 parent 57e6045 commit be5ac88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public ControllerAdapter(
// so these thunks are called after the frame has advanced
_rumblers.Add((c, b) =>
{
const double SCALE_FACTOR = (double) int.MaxValue / (double) byte.MaxValue;
const double SCALE_FACTOR = (double)int.MaxValue / byte.MaxValue;
static int Scale(byte b)
=> (b * SCALE_FACTOR).RoundToInt();
//TODO double-check order
Expand Down

0 comments on commit be5ac88

Please sign in to comment.