summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/hd61700/hd61700.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/hd61700/hd61700.cpp')
-rw-r--r--src/devices/cpu/hd61700/hd61700.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/hd61700/hd61700.cpp b/src/devices/cpu/hd61700/hd61700.cpp
index 30cf3f6a425..777a23de894 100644
--- a/src/devices/cpu/hd61700/hd61700.cpp
+++ b/src/devices/cpu/hd61700/hd61700.cpp
@@ -215,8 +215,8 @@ void hd61700_cpu_device::device_reset()
memset(m_reg16bit, 0, sizeof(m_reg16bit));
memset(m_regmain, 0, sizeof(m_regmain));
- for (int i=0;i<6; i++)
- m_lines_status[i] = CLEAR_LINE;
+ for (auto & elem : m_lines_status)
+ elem = CLEAR_LINE;
}