diff options
author | 2015-12-04 10:29:21 +0100 | |
---|---|---|
committer | 2015-12-04 10:29:21 +0100 | |
commit | 1b0ec08af5cd3b3268b5889ba4e30409431434e2 (patch) | |
tree | 42c510afaaeb15e1f97eff044a4d295586c30aaa /src/devices/video/mos6566.cpp | |
parent | 5a2f80dcde2e76356bf568f1e2d71b054a7db45b (diff) |
clang-modernize part 6
Diffstat (limited to 'src/devices/video/mos6566.cpp')
-rw-r--r-- | src/devices/video/mos6566.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/mos6566.cpp b/src/devices/video/mos6566.cpp index 77196b0d85e..d39e8cb041a 100644 --- a/src/devices/video/mos6566.cpp +++ b/src/devices/video/mos6566.cpp @@ -773,8 +773,8 @@ void mos6566_device::device_reset() { memset(m_reg, 0, sizeof(m_reg)); - for (int i = 0; i < ARRAY_LENGTH(m_mc); i++) - m_mc[i] = 63; + for (auto & elem : m_mc) + elem = 63; // from 0 to 311 (0 first, PAL) or from 0 to 261 (? first, NTSC 6567R56A) or from 0 to 262 (? first, NTSC 6567R8) m_rasterline = 0; // VIC2_LINES - 1; |