diff options
author | 2021-06-12 03:00:21 +1000 | |
---|---|---|
committer | 2021-06-13 09:38:01 +1000 | |
commit | 73d97b7dc492871d3dcf4ee919fc443dd2308dec (patch) | |
tree | c394cccb9d6514a5b8e69f054d5d27ecc50a5d58 /src/devices/machine/sensorboard.cpp | |
parent | 27b93b23486533747d9ba185ff54da860223a463 (diff) |
Added helpers for 64-bit count leading zeroes/ones.
Diffstat (limited to 'src/devices/machine/sensorboard.cpp')
-rw-r--r-- | src/devices/machine/sensorboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/sensorboard.cpp b/src/devices/machine/sensorboard.cpp index 8970726cf50..3d4188396dd 100644 --- a/src/devices/machine/sensorboard.cpp +++ b/src/devices/machine/sensorboard.cpp @@ -497,7 +497,7 @@ INPUT_CHANGED_MEMBER(sensorboard_device::sensor) INPUT_CHANGED_MEMBER(sensorboard_device::ui_spawn) { - u8 pos = (newval) ? (u8)param : 32 - count_leading_zeros(m_inp_spawn->read()); + u8 pos = (newval) ? (u8)param : 32 - count_leading_zeros_32(m_inp_spawn->read()); if (pos == 0 || pos > m_maxspawn) return; |