summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m3745x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/m3745x.cpp')
-rw-r--r--src/devices/cpu/m6502/m3745x.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/m6502/m3745x.cpp b/src/devices/cpu/m6502/m3745x.cpp
index 46cfdf37fba..a7f40fa7ada 100644
--- a/src/devices/cpu/m6502/m3745x.cpp
+++ b/src/devices/cpu/m6502/m3745x.cpp
@@ -123,9 +123,9 @@ void m3745x_device::device_reset()
SP = 0x01ff; // we have the "traditional" stack in page 1, not 0 like some M740 derivatives
- for (int i = 0; i < NUM_TIMERS; i++)
+ for (auto & elem : m_timers)
{
- m_timers[i]->adjust(attotime::never);
+ elem->adjust(attotime::never);
}
// all ports reset to input on startup