diff options
Diffstat (limited to 'src/mame/machine/atarigen.c')
-rw-r--r-- | src/mame/machine/atarigen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/atarigen.c b/src/mame/machine/atarigen.c index 8f8a5cc39a6..52e92e75cdb 100644 --- a/src/mame/machine/atarigen.c +++ b/src/mame/machine/atarigen.c @@ -875,7 +875,7 @@ static TIMER_CALLBACK( delayed_6502_sound_w ) void atarigen_set_vol(running_machine *machine, int volume, device_type type) { - device_sound_interface *sound; + device_sound_interface *sound = NULL; for (bool gotone = machine->devicelist.first(sound); gotone; gotone = sound->next(sound)) if (sound->device().type() == type) sound_set_output_gain(*sound, ALL_OUTPUTS, volume / 100.0); |