summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/st0016.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/st0016.cpp')
-rw-r--r--src/mame/machine/st0016.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/st0016.cpp b/src/mame/machine/st0016.cpp
index 3abdc4eafaf..08959876e99 100644
--- a/src/mame/machine/st0016.cpp
+++ b/src/mame/machine/st0016.cpp
@@ -49,8 +49,8 @@ st0016_cpu_device::st0016_cpu_device(const machine_config &mconfig, const char *
m_palette(*this, "palette")
{
- for (int i = 0; i < 0xc0; i++)
- st0016_vregs[i] = 0;
+ for (auto & elem : st0016_vregs)
+ elem = 0;
}