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/machine/mos8722.cpp | |
parent | 5a2f80dcde2e76356bf568f1e2d71b054a7db45b (diff) |
clang-modernize part 6
Diffstat (limited to 'src/devices/machine/mos8722.cpp')
-rw-r--r-- | src/devices/machine/mos8722.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/mos8722.cpp b/src/devices/machine/mos8722.cpp index 31b2beb1f27..214a52faa21 100644 --- a/src/devices/machine/mos8722.cpp +++ b/src/devices/machine/mos8722.cpp @@ -100,9 +100,9 @@ void mos8722_device::device_start() void mos8722_device::device_reset() { - for (int i = 0; i < 16; i++) + for (auto & elem : m_reg) { - m_reg[i] = 0; + elem = 0; } m_reg[P1L] = 0x01; |