diff options
Diffstat (limited to 'src/devices/cpu/hcd62121/hcd62121.cpp')
-rw-r--r-- | src/devices/cpu/hcd62121/hcd62121.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/hcd62121/hcd62121.cpp b/src/devices/cpu/hcd62121/hcd62121.cpp index 4371edc8407..692297048c0 100644 --- a/src/devices/cpu/hcd62121/hcd62121.cpp +++ b/src/devices/cpu/hcd62121/hcd62121.cpp @@ -493,9 +493,9 @@ void hcd62121_cpu_device::device_reset() m_f = 0; m_dsize = 0; - for( int i = 0; i < 0x80; i++ ) + for(auto & elem : m_reg) { - m_reg[i] = 0; + elem = 0; } } |