Make MEN018 analyzer happy

This commit is contained in:
CasualPokePlayer 2025-02-22 09:40:15 -08:00
parent e1ea8a3371
commit 8c351433d5
1 changed files with 2 additions and 2 deletions

View File

@ -180,8 +180,8 @@ namespace BizHawk.Bizware.Input
static bool IsNormal(double d)
{
var bits = BitConverter.DoubleToInt64Bits(d);
bits &= 0x7FFFFFFFFFFFFFFF;
return (bits < 0x7FF0000000000000) && (bits != 0) && ((bits & 0x7FF0000000000000) == 0);
bits &= 0x7FFF_FFFF_FFFF_FFFF;
return (bits < 0x7FF0_0000_0000_0000) && (bits != 0) && ((bits & 0x7FF0_0000_0000_0000) == 0);
}
if (XIMaskIsSet(valuatorsMask, 0))