summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/turrett.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/turrett.cpp')
-rw-r--r--src/mame/audio/turrett.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/turrett.cpp b/src/mame/audio/turrett.cpp
index 69c8b784c3f..bb1fee907b4 100644
--- a/src/mame/audio/turrett.cpp
+++ b/src/mame/audio/turrett.cpp
@@ -69,8 +69,8 @@ void turrett_device::device_start()
void turrett_device::device_reset()
{
- for (int ch = 0; ch < SOUND_CHANNELS; ++ch)
- m_channels[ch].m_playing = false;
+ for (auto & elem : m_channels)
+ elem.m_playing = false;
}