diff options
author | 2009-01-18 18:22:46 +0000 | |
---|---|---|
committer | 2009-01-18 18:22:46 +0000 | |
commit | 68a0e2c86aa75b8f2aa273421a04625987e64ba2 (patch) | |
tree | 40098bbfc8e80166d730eb82cb333baab884fa3d /src/emu/sound/ay8910.c | |
parent | 0335419d51f78de7963fc879ae508a6e14cdbdc3 (diff) |
Removed redundant config parameter from SND_START.
Diffstat (limited to 'src/emu/sound/ay8910.c')
-rw-r--r-- | src/emu/sound/ay8910.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/sound/ay8910.c b/src/emu/sound/ay8910.c index 25594666c8e..267f9463d16 100644 --- a/src/emu/sound/ay8910.c +++ b/src/emu/sound/ay8910.c @@ -818,7 +818,7 @@ static SND_START( ay8910 ) AY8910_DEFAULT_LOADS, NULL, NULL, NULL, NULL }; - const ay8910_interface *intf = (config ? config : &generic_ay8910); + const ay8910_interface *intf = (device->static_config ? device->static_config : &generic_ay8910); return ay8910_start_ym(SOUND_AY8910, device, clock, intf); } @@ -830,7 +830,7 @@ static SND_START( ym2149 ) AY8910_DEFAULT_LOADS, NULL, NULL, NULL, NULL }; - const ay8910_interface *intf = (config ? config : &generic_ay8910); + const ay8910_interface *intf = (device->static_config ? device->static_config : &generic_ay8910); return ay8910_start_ym(SOUND_YM2149, device, clock, intf); } |