summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/ldvp931.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ldvp931.cpp')
-rw-r--r--src/devices/machine/ldvp931.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/ldvp931.cpp b/src/devices/machine/ldvp931.cpp
index 094447391cf..69bf68d2f55 100644
--- a/src/devices/machine/ldvp931.cpp
+++ b/src/devices/machine/ldvp931.cpp
@@ -233,7 +233,7 @@ void philips_22vp931_device::device_timer(emu_timer &timer, device_timer_id id,
m_fromcontroller_pending = true;
// track the commands for debugging purposes
- if (m_cmdcount < ARRAY_LENGTH(m_cmdbuf))
+ if (m_cmdcount < std::size(m_cmdbuf))
{
m_cmdbuf[m_cmdcount++ % 3] = param;
if (LOG_COMMANDS && m_cmdcount % 3 == 0)