summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/crt9007.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/crt9007.cpp')
-rw-r--r--src/devices/video/crt9007.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/crt9007.cpp b/src/devices/video/crt9007.cpp
index 0b2a30894c3..84ec673ec8b 100644
--- a/src/devices/video/crt9007.cpp
+++ b/src/devices/video/crt9007.cpp
@@ -466,8 +466,8 @@ crt9007_t::crt9007_t(const machine_config &mconfig, const char *tag, device_t *o
m_write_slg(*this),
m_write_sld(*this)
{
- for (int i = 0; i < 0x3d; i++)
- m_reg[i] = 0;
+ for (auto & elem : m_reg)
+ elem = 0;
}