summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/news_r3k.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/news_r3k.cpp')
-rw-r--r--src/mame/drivers/news_r3k.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/news_r3k.cpp b/src/mame/drivers/news_r3k.cpp
index 9cd7060e20a..1d77742cb51 100644
--- a/src/mame/drivers/news_r3k.cpp
+++ b/src/mame/drivers/news_r3k.cpp
@@ -333,7 +333,7 @@ void news_r3k_state::int_check()
static int const int_line[] = { INPUT_LINE_IRQ0, INPUT_LINE_IRQ1, INPUT_LINE_IRQ2, INPUT_LINE_IRQ4 };
static u16 const int_mask[] = { 0x001f, 0x00e0, 0x1f00, 0xe000 };
- for (unsigned i = 0; i < ARRAY_LENGTH(m_int_state); i++)
+ for (unsigned i = 0; i < std::size(m_int_state); i++)
{
bool const int_state = m_intst & m_inten & int_mask[i];