summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/intellect02.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/intellect02.cpp')
-rw-r--r--src/mame/drivers/intellect02.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/intellect02.cpp b/src/mame/drivers/intellect02.cpp
index 2e9608e045a..016f0bb5cf4 100644
--- a/src/mame/drivers/intellect02.cpp
+++ b/src/mame/drivers/intellect02.cpp
@@ -132,7 +132,7 @@ u8 intel02_state::input_r()
{
// d0-d3: buttons through a maze of logic gates
// basically giving each button its own 4-bit scancode
- u8 data = count_leading_zeros(m_inputs[0]->read()) - 17;
+ u8 data = count_leading_zeros_32(m_inputs[0]->read()) - 17;
// d4: Vcc, d5-d7: buttons (direct)
return data | (~m_inputs[1]->read() << 4 & 0xf0);