summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tc0480scp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/tc0480scp.cpp')
-rw-r--r--src/mame/video/tc0480scp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/tc0480scp.cpp b/src/mame/video/tc0480scp.cpp
index d50a77c6ace..df66f8afb3b 100644
--- a/src/mame/video/tc0480scp.cpp
+++ b/src/mame/video/tc0480scp.cpp
@@ -317,8 +317,8 @@ void tc0480scp_device::device_reset()
{
m_dblwidth = 0;
- for (int i = 0; i < 0x18; i++)
- m_ctrl[i] = 0;
+ for (auto & elem : m_ctrl)
+ elem = 0;
}