summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/k054539.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/k054539.cpp')
-rw-r--r--src/devices/sound/k054539.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/k054539.cpp b/src/devices/sound/k054539.cpp
index ed1699e6fd1..ba38b750b08 100644
--- a/src/devices/sound/k054539.cpp
+++ b/src/devices/sound/k054539.cpp
@@ -499,8 +499,8 @@ void k054539_device::device_start()
m_timer_handler.resolve_safe();
m_apan_cb.bind_relative_to(*owner());
- for (int i = 0; i < 8; i++)
- gain[i] = 1.0;
+ for (auto & elem : gain)
+ elem = 1.0;
flags = RESET_FLAGS;