summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/es5506.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/es5506.cpp')
-rw-r--r--src/devices/sound/es5506.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/es5506.cpp b/src/devices/sound/es5506.cpp
index e29edc5f0ce..6e47ed7977d 100644
--- a/src/devices/sound/es5506.cpp
+++ b/src/devices/sound/es5506.cpp
@@ -157,9 +157,9 @@ es550x_device::es550x_device(const machine_config &mconfig, device_type type, co
m_irq_cb(*this),
m_read_port_cb(*this)
{
- for (int i = 0; i < 4; i++)
+ for (auto & elem : m_region_base)
{
- m_region_base[i] = nullptr;
+ elem = nullptr;
}
}