make CI happy

This commit is contained in:
Morilli 2024-10-09 07:32:27 +02:00
parent 57e60453f6
commit be5ac88677
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ namespace BizHawk.Emulation.Cores.Waterbox
// so these thunks are called after the frame has advanced // so these thunks are called after the frame has advanced
_rumblers.Add((c, b) => _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) static int Scale(byte b)
=> (b * SCALE_FACTOR).RoundToInt(); => (b * SCALE_FACTOR).RoundToInt();
//TODO double-check order //TODO double-check order