summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/subhuntr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/subhuntr.cpp')
-rw-r--r--src/mame/drivers/subhuntr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/subhuntr.cpp b/src/mame/drivers/subhuntr.cpp
index 334a1604971..991b07684c0 100644
--- a/src/mame/drivers/subhuntr.cpp
+++ b/src/mame/drivers/subhuntr.cpp
@@ -147,7 +147,7 @@ void subhuntr_state::txtram_w(offs_t offset, u8 data)
u8 subhuntr_state::intack_r()
{
- unsigned const source = count_leading_zeros(m_intreqs) - 24;
+ unsigned const source = count_leading_zeros_32(m_intreqs) - 24;
u8 const vector = ((m_intreq_cnf->read() & 0x01) ? 0x91 : 0x11) | (source << 1);
switch (source)
{