diff options
Diffstat (limited to 'src/devices/cpu/h6280/h6280.cpp')
-rw-r--r-- | src/devices/cpu/h6280/h6280.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/h6280/h6280.cpp b/src/devices/cpu/h6280/h6280.cpp index f92e0520a12..d1be228e732 100644 --- a/src/devices/cpu/h6280/h6280.cpp +++ b/src/devices/cpu/h6280/h6280.cpp @@ -263,9 +263,9 @@ void h6280_device::device_start() m_icount = 0; /* clear pending interrupts */ - for (int i = 0; i < 3; i++) + for (auto & elem : m_irq_state) { - m_irq_state[i] = CLEAR_LINE; + elem = CLEAR_LINE; } m_nmi_state = CLEAR_LINE; } |