diff options
Diffstat (limited to 'src/devices/cpu/avr8/avr8.cpp')
-rw-r--r-- | src/devices/cpu/avr8/avr8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/avr8/avr8.cpp b/src/devices/cpu/avr8/avr8.cpp index ebc61fec9ae..7ebafca65a1 100644 --- a/src/devices/cpu/avr8/avr8.cpp +++ b/src/devices/cpu/avr8/avr8.cpp @@ -855,9 +855,9 @@ void avr8_device::device_reset() logerror("AVR Boot loader section size: %d words\n", m_boot_size); } - for (int i = 0; i < 0x200; i++) + for (auto & elem : m_r) { - m_r[i] = 0; + elem = 0; } m_spi_active = false; |