diff options
Diffstat (limited to 'src/mame/machine/balsente.cpp')
-rw-r--r-- | src/mame/machine/balsente.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/balsente.cpp b/src/mame/machine/balsente.cpp index d9bde8cb7ae..8eceeffa417 100644 --- a/src/mame/machine/balsente.cpp +++ b/src/mame/machine/balsente.cpp @@ -925,8 +925,8 @@ WRITE8_MEMBER(balsente_state::balsente_counter_control_w) /* bit D0 enables/disables audio */ if (diff_counter_control & 0x01) { - for (int ch = 0; ch < 6; ch++) - m_cem_device[ch]->set_output_gain(0, (data & 0x01) ? 1.0 : 0); + for (auto & elem : m_cem_device) + elem->set_output_gain(0, (data & 0x01) ? 1.0 : 0); } /* bit D1 is hooked to counter 0's gate */ |