diff options
Diffstat (limited to 'src/mame/audio/flower.cpp')
-rw-r--r-- | src/mame/audio/flower.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/flower.cpp b/src/mame/audio/flower.cpp index 785051faa64..fcde400310d 100644 --- a/src/mame/audio/flower.cpp +++ b/src/mame/audio/flower.cpp @@ -89,9 +89,9 @@ void flower_sound_device::device_reset() m_effect_timer->adjust(period, 0, period); /* reset all the voices */ - for (int i = 0; i < 8; i++) + for (auto & elem : m_channel_list) { - voice = &m_channel_list[i]; + voice = &elem; voice->freq = 0; voice->pos = 0; |