diff options
Diffstat (limited to 'src/mame/drivers/jalmah.cpp')
-rw-r--r-- | src/mame/drivers/jalmah.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/jalmah.cpp b/src/mame/drivers/jalmah.cpp index 96e26a2abd4..ee3c60c0c2f 100644 --- a/src/mame/drivers/jalmah.cpp +++ b/src/mame/drivers/jalmah.cpp @@ -1509,7 +1509,7 @@ uint16_t jalmah_state::urashima_mcu_r() int res; res = resp[m_respcount++]; - if (m_respcount >= ARRAY_LENGTH(resp)) m_respcount = 0; + if (m_respcount >= std::size(resp)) m_respcount = 0; // logerror("%s: mcu_r %02x\n",machine().dscribe_context(),res); @@ -1568,7 +1568,7 @@ uint16_t jalmah_state::daireika_mcu_r() int res; res = resp[m_respcount++]; - if (m_respcount >= ARRAY_LENGTH(resp)) m_respcount = 0; + if (m_respcount >= std::size(resp)) m_respcount = 0; // logerror("%s: mcu_r %02x\n",machine().describe_context(),res); @@ -1636,7 +1636,7 @@ uint16_t jalmah_state::mjzoomin_mcu_r() int res; res = resp[m_respcount++]; - if (m_respcount >= ARRAY_LENGTH(resp)) m_respcount = 0; + if (m_respcount >= std::size(resp)) m_respcount = 0; // logerror("%04x: mcu_r %02x\n",machine().describe_context(),res); @@ -1689,7 +1689,7 @@ uint16_t jalmah_state::kakumei_mcu_r() int res; res = resp[m_respcount++]; - if (m_respcount >= ARRAY_LENGTH(resp)) m_respcount = 0; + if (m_respcount >= std::size(resp)) m_respcount = 0; // popmessage("%s: mcu_r %02x",machine().describe_context(),res); @@ -1710,7 +1710,7 @@ uint16_t jalmah_state::suchiesp_mcu_r() int res; res = resp[m_respcount++]; - if (m_respcount >= ARRAY_LENGTH(resp)) m_respcount = 0; + if (m_respcount >= std::size(resp)) m_respcount = 0; // popmessage("%s: mcu_r %02x",machine().describe_context(),res); |