diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2010-06-17 00:40:12 +0000 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2010-06-17 00:40:12 +0000 |
commit | e85bd2ca71c1b26e4569c7928941509f375cfae1 (patch) | |
tree | 1bb8608274bb30fe749e0c9ef33befcb3241af22 /src | |
parent | a1b0bd61b7dba5e85bd912ff4b70fe5cf39025e4 (diff) |
Whack. Mole. Assembly required. (no whatsnew)
Diffstat (limited to 'src')
-rw-r--r-- | src/emu/sound.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/sound.c b/src/emu/sound.c index 86938e3671a..ffac7d75c9b 100644 --- a/src/emu/sound.c +++ b/src/emu/sound.c @@ -189,7 +189,7 @@ static void sound_exit(running_machine *machine) static void route_sound(running_machine *machine) { /* iterate again over all the sound chips */ - device_sound_interface *sound; + device_sound_interface *sound = NULL; for (bool gotone = machine->devicelist.first(sound); gotone; gotone = sound->next(sound)) { int numoutputs = stream_get_device_outputs(*sound); @@ -230,7 +230,7 @@ static void route_sound(running_machine *machine) static void sound_reset(running_machine *machine) { - device_sound_interface *sound; + device_sound_interface *sound = NULL; /* reset all the sound chips */ for (bool gotone = machine->devicelist.first(sound); gotone; gotone = sound->next(sound)) @@ -553,7 +553,7 @@ void speaker_device::device_start() { // scan all the sound devices and count our inputs int inputs = 0; - device_sound_interface *sound; + device_sound_interface *sound = NULL; for (bool gotone = machine->devicelist.first(sound); gotone; gotone = sound->next(sound)) { // scan each route on the device |