summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/bml3/bml3bus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/bml3/bml3bus.cpp')
-rw-r--r--src/devices/bus/bml3/bml3bus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/bml3/bml3bus.cpp b/src/devices/bus/bml3/bml3bus.cpp
index b06ac50e5d2..0438cc58997 100644
--- a/src/devices/bus/bml3/bml3bus.cpp
+++ b/src/devices/bus/bml3/bml3bus.cpp
@@ -139,9 +139,9 @@ void bml3bus_device::device_start()
m_out_firq_cb.resolve_safe();
// clear slots
- for (int i = 0; i < BML3BUS_MAX_SLOTS; i++)
+ for (auto & elem : m_device_list)
{
- m_device_list[i] = nullptr;
+ elem = nullptr;
}
}