From 68a0e2c86aa75b8f2aa273421a04625987e64ba2 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 18 Jan 2009 18:22:46 +0000 Subject: Removed redundant config parameter from SND_START. --- src/emu/sound/ay8910.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/sound/ay8910.c') 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); } -- cgit v1.2.3-70-g09d2