summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/pc080sn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/pc080sn.cpp')
-rw-r--r--src/mame/video/pc080sn.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/pc080sn.cpp b/src/mame/video/pc080sn.cpp
index 449cd97351a..55c67ed2bfa 100644
--- a/src/mame/video/pc080sn.cpp
+++ b/src/mame/video/pc080sn.cpp
@@ -61,8 +61,8 @@ pc080sn_device::pc080sn_device(const machine_config &mconfig, const char *tag, d
m_gfxdecode(*this),
m_palette(*this)
{
- for (int i = 0; i < 8; i++)
- m_ctrl[i] = 0;
+ for (auto & elem : m_ctrl)
+ elem = 0;
for (int i = 0; i < 2; i++)
{