diff options
author | 2021-06-12 03:00:21 +1000 | |
---|---|---|
committer | 2021-06-13 09:38:01 +1000 | |
commit | 73d97b7dc492871d3dcf4ee919fc443dd2308dec (patch) | |
tree | c394cccb9d6514a5b8e69f054d5d27ecc50a5d58 /src/mame/drivers/olibochu.cpp | |
parent | 27b93b23486533747d9ba185ff54da860223a463 (diff) |
Added helpers for 64-bit count leading zeroes/ones.
Diffstat (limited to 'src/mame/drivers/olibochu.cpp')
-rw-r--r-- | src/mame/drivers/olibochu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/olibochu.cpp b/src/mame/drivers/olibochu.cpp index dbcb0ab94ba..8fa5924cec8 100644 --- a/src/mame/drivers/olibochu.cpp +++ b/src/mame/drivers/olibochu.cpp @@ -257,7 +257,7 @@ void olibochu_state::sound_command_w(offs_t offset, uint8_t data) else m_cmd = (m_cmd & 0xff00) | uint16_t(data); - unsigned c = count_leading_zeros(uint32_t(m_cmd)) - 16; + unsigned c = count_leading_zeros_32(uint32_t(m_cmd)) - 16; if (c < 16) m_soundlatch->write(c); } |