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/cpu/sm8500/sm8500.cpp | |
parent | 5a2f80dcde2e76356bf568f1e2d71b054a7db45b (diff) |
clang-modernize part 6
Diffstat (limited to 'src/devices/cpu/sm8500/sm8500.cpp')
-rw-r--r-- | src/devices/cpu/sm8500/sm8500.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/sm8500/sm8500.cpp b/src/devices/cpu/sm8500/sm8500.cpp index 13b32447714..11fc61132fc 100644 --- a/src/devices/cpu/sm8500/sm8500.cpp +++ b/src/devices/cpu/sm8500/sm8500.cpp @@ -198,9 +198,9 @@ void sm8500_cpu_device::state_string_export(const device_state_entry &entry, std void sm8500_cpu_device::device_reset() { - for ( int i = 0; i < 0x108; i++ ) + for (auto & elem : m_register_ram) { - m_register_ram[i] = 0; + elem = 0; } m_PC = 0x1020; |