summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/vc4000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/vc4000.cpp')
-rw-r--r--src/mame/video/vc4000.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/vc4000.cpp b/src/mame/video/vc4000.cpp
index 29248a12523..8caf09fb779 100644
--- a/src/mame/video/vc4000.cpp
+++ b/src/mame/video/vc4000.cpp
@@ -574,7 +574,7 @@ INTERRUPT_GEN_MEMBER(vc4000_state::vc4000_video_line)
{
uint8_t collision[400]={0}; // better alloca or gcc feature of non constant long automatic arrays
const rectangle &visarea = m_screen->visible_area();
- assert(ARRAY_LENGTH(collision) >= m_screen->width());
+ assert(std::size(collision) >= m_screen->width());
m_video.line++;
if (m_irq_pause) m_irq_pause++;