From 7ea948666abd2f477dafaf88373ccb68fe850914 Mon Sep 17 00:00:00 2001 From: Derrick Renaud Date: Fri, 8 Aug 2008 16:32:55 +0000 Subject: [PATCH] lower cased sn76477_interface and ay8910_interface --- src/emu/sound/2203intf.h | 2 +- src/emu/sound/2608intf.h | 2 +- src/emu/sound/2610intf.c | 4 ++-- src/emu/sound/ay8910.c | 12 ++++++------ src/emu/sound/ay8910.h | 6 +++--- src/emu/sound/sn76477.c | 6 +++--- src/emu/sound/sn76477.h | 4 ++-- src/mame/audio/8080bw.c | 2 +- src/mame/audio/astrof.c | 2 +- src/mame/audio/cclimber.c | 2 +- src/mame/audio/cinemat.c | 4 ++-- src/mame/audio/crbaloon.c | 2 +- src/mame/audio/irem.c | 4 ++-- src/mame/audio/mario.c | 2 +- src/mame/audio/mcr.c | 4 ++-- src/mame/audio/mw8080bw.c | 8 ++++---- src/mame/audio/n8080.c | 4 ++-- src/mame/audio/redalert.c | 4 ++-- src/mame/audio/rockola.c | 14 +++++++------- src/mame/audio/scramble.c | 4 ++-- src/mame/audio/timeplt.c | 2 +- src/mame/drivers/40love.c | 2 +- src/mame/drivers/aeroboto.c | 2 +- src/mame/drivers/alpha68k.c | 2 +- src/mame/drivers/ambush.c | 4 ++-- src/mame/drivers/ampoker2.c | 2 +- src/mame/drivers/arabian.c | 2 +- src/mame/drivers/arkanoid.c | 2 +- src/mame/drivers/astrocde.c | 2 +- src/mame/drivers/bagman.c | 4 ++-- src/mame/drivers/bking.c | 2 +- src/mame/drivers/blueprnt.c | 4 ++-- src/mame/drivers/bmcbowl.c | 2 +- src/mame/drivers/buggychl.c | 4 ++-- src/mame/drivers/calomega.c | 4 ++-- src/mame/drivers/carrera.c | 2 +- src/mame/drivers/centiped.c | 2 +- src/mame/drivers/chaknpop.c | 4 ++-- src/mame/drivers/changela.c | 4 ++-- src/mame/drivers/cherrym.c | 2 +- src/mame/drivers/cherrym2.c | 2 +- src/mame/drivers/cidelsa.c | 2 +- src/mame/drivers/coinmstr.c | 2 +- src/mame/drivers/couple.c | 2 +- src/mame/drivers/ddayjlc.c | 2 +- src/mame/drivers/ddenlovr.c | 6 +++--- src/mame/drivers/dlair.c | 2 +- src/mame/drivers/dominob.c | 2 +- src/mame/drivers/dunhuang.c | 2 +- src/mame/drivers/dwarfd.c | 2 +- src/mame/drivers/dynax.c | 6 +++--- src/mame/drivers/enigma2.c | 2 +- src/mame/drivers/equites.c | 2 +- src/mame/drivers/ettrivia.c | 4 ++-- src/mame/drivers/exerion.c | 2 +- src/mame/drivers/flstory.c | 2 +- src/mame/drivers/funkybee.c | 2 +- src/mame/drivers/funworld.c | 2 +- src/mame/drivers/galaxian.c | 16 ++++++++-------- src/mame/drivers/galaxold.c | 4 ++-- src/mame/drivers/gameplan.c | 2 +- src/mame/drivers/goldstar.c | 2 +- src/mame/drivers/grchamp.c | 4 ++-- src/mame/drivers/gsword.c | 2 +- src/mame/drivers/gyruss.c | 10 +++++----- src/mame/drivers/halleys.c | 2 +- src/mame/drivers/hanaawas.c | 2 +- src/mame/drivers/hanaroku.c | 2 +- src/mame/drivers/hexa.c | 2 +- src/mame/drivers/holeland.c | 4 ++-- src/mame/drivers/hotblock.c | 2 +- src/mame/drivers/hyhoo.c | 2 +- src/mame/drivers/jack.c | 2 +- src/mame/drivers/jongkyo.c | 2 +- src/mame/drivers/junofrst.c | 2 +- src/mame/drivers/kaneko16.c | 4 ++-- src/mame/drivers/kingobox.c | 2 +- src/mame/drivers/kncljoe.c | 2 +- src/mame/drivers/koikoi.c | 2 +- src/mame/drivers/ksayakyu.c | 4 ++-- src/mame/drivers/kyugo.c | 2 +- src/mame/drivers/ladyfrog.c | 2 +- src/mame/drivers/laserbat.c | 4 ++-- src/mame/drivers/leland.c | 2 +- src/mame/drivers/looping.c | 2 +- src/mame/drivers/lucky74.c | 2 +- src/mame/drivers/lucky8.c | 2 +- src/mame/drivers/lvcards.c | 2 +- src/mame/drivers/madalien.c | 2 +- src/mame/drivers/magmax.c | 2 +- src/mame/drivers/malzak.c | 2 +- src/mame/drivers/mazerbla.c | 4 ++-- src/mame/drivers/megazone.c | 2 +- src/mame/drivers/meijinsn.c | 2 +- src/mame/drivers/merit.c | 2 +- src/mame/drivers/meritm.c | 2 +- src/mame/drivers/mjsister.c | 2 +- src/mame/drivers/mjsiyoub.c | 2 +- src/mame/drivers/mpu4.c | 2 +- src/mame/drivers/nbmj8688.c | 2 +- src/mame/drivers/nbmj8891.c | 2 +- src/mame/drivers/nbmj8991.c | 2 +- src/mame/drivers/nemesis.c | 4 ++-- src/mame/drivers/nova2001.c | 8 ++++---- src/mame/drivers/nycaptor.c | 2 +- src/mame/drivers/nyny.c | 4 ++-- src/mame/drivers/ojankohs.c | 6 +++--- src/mame/drivers/pacman.c | 2 +- src/mame/drivers/pandoras.c | 2 +- src/mame/drivers/pastelg.c | 2 +- src/mame/drivers/phoenix.c | 2 +- src/mame/drivers/pitnrun.c | 2 +- src/mame/drivers/popeye.c | 2 +- src/mame/drivers/r2dtank.c | 4 ++-- src/mame/drivers/rcasino.c | 2 +- src/mame/drivers/rmhaihai.c | 2 +- src/mame/drivers/route16.c | 4 ++-- src/mame/drivers/royalmah.c | 2 +- src/mame/drivers/scobra.c | 4 ++-- src/mame/drivers/scramble.c | 14 +++++++------- src/mame/drivers/seicross.c | 2 +- src/mame/drivers/shangha3.c | 2 +- src/mame/drivers/skylncr.c | 2 +- src/mame/drivers/slapfght.c | 4 ++-- src/mame/drivers/srmp2.c | 2 +- src/mame/drivers/ssrj.c | 2 +- src/mame/drivers/suna16.c | 2 +- src/mame/drivers/suna8.c | 4 ++-- src/mame/drivers/superqix.c | 12 ++++++------ src/mame/drivers/suprridr.c | 2 +- src/mame/drivers/taitosj.c | 8 ++++---- src/mame/drivers/tankbust.c | 2 +- src/mame/drivers/taxidrvr.c | 4 ++-- src/mame/drivers/tehkanwc.c | 4 ++-- src/mame/drivers/thepit.c | 2 +- src/mame/drivers/tickee.c | 4 ++-- src/mame/drivers/timelimt.c | 2 +- src/mame/drivers/toratora.c | 2 +- src/mame/drivers/tubep.c | 6 +++--- src/mame/drivers/twins.c | 2 +- src/mame/drivers/tx1.c | 6 +++--- src/mame/drivers/vastar.c | 2 +- src/mame/drivers/vroulet.c | 2 +- src/mame/drivers/wink.c | 2 +- src/mame/drivers/zaccaria.c | 2 +- src/mame/includes/8080bw.h | 2 +- src/mame/includes/cclimber.h | 2 +- src/mame/includes/rockola.h | 14 +++++++------- 148 files changed, 243 insertions(+), 243 deletions(-) diff --git a/src/emu/sound/2203intf.h b/src/emu/sound/2203intf.h index b15b1ef9ac0..fa5a480c685 100644 --- a/src/emu/sound/2203intf.h +++ b/src/emu/sound/2203intf.h @@ -5,7 +5,7 @@ struct YM2203interface { - const AY8910_interface ay8910_intf; + const ay8910_interface ay8910_intf; void (*handler)(running_machine *machine, int irq); }; diff --git a/src/emu/sound/2608intf.h b/src/emu/sound/2608intf.h index e009e481f52..dbc21f3d3bd 100644 --- a/src/emu/sound/2608intf.h +++ b/src/emu/sound/2608intf.h @@ -6,7 +6,7 @@ struct YM2608interface { - const AY8910_interface ay8910_intf; + const ay8910_interface ay8910_intf; void ( *handler )( running_machine *machine, int irq ); /* IRQ handler for the YM2608 */ }; diff --git a/src/emu/sound/2610intf.c b/src/emu/sound/2610intf.c index f9974b9d20e..c6f3c83dc47 100644 --- a/src/emu/sound/2610intf.c +++ b/src/emu/sound/2610intf.c @@ -123,7 +123,7 @@ static STATE_POSTLOAD( ym2610_postload ) static void *ym2610_start(const char *tag, int sndindex, int clock, const void *config) { static const struct YM2610interface generic_2610 = { 0 }; - static const AY8910_interface generic_ay8910 = + static const ay8910_interface generic_ay8910 = { AY8910_LEGACY_OUTPUT | AY8910_SINGLE_OUTPUT, AY8910_DEFAULT_LOADS, @@ -189,7 +189,7 @@ static void ym2610b_stream_update(void *param, stream_sample_t **inputs, stream_ static void *ym2610b_start(const char *tag, int sndindex, int clock, const void *config) { static const struct YM2610interface generic_2610 = { 0 }; - static const AY8910_interface generic_ay8910 = + static const ay8910_interface generic_ay8910 = { AY8910_LEGACY_OUTPUT | AY8910_SINGLE_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/emu/sound/ay8910.c b/src/emu/sound/ay8910.c index 13ac3db100d..8b2e245af59 100644 --- a/src/emu/sound/ay8910.c +++ b/src/emu/sound/ay8910.c @@ -164,7 +164,7 @@ struct _ay8910_context int streams; int ready; sound_stream *channel; - const AY8910_interface *intf; + const ay8910_interface *intf; INT32 register_latch; UINT8 regs[16]; INT32 last_enable; @@ -657,7 +657,7 @@ static void ay8910_statesave(ay8910_context *psg, int sndindex) * *************************************/ -void *ay8910_start_ym(sound_type chip_type, int sndindex, int clock, const AY8910_interface *intf) +void *ay8910_start_ym(sound_type chip_type, int sndindex, int clock, const ay8910_interface *intf) { ay8910_context *info; @@ -818,25 +818,25 @@ int ay8910_read_ym(void *chip) static void *ay8910_start(const char *tag, int sndindex, int clock, const void *config) { - static const AY8910_interface generic_ay8910 = + static const ay8910_interface generic_ay8910 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, NULL, NULL, NULL, NULL }; - const AY8910_interface *intf = (config ? config : &generic_ay8910); + const ay8910_interface *intf = (config ? config : &generic_ay8910); return ay8910_start_ym(SOUND_AY8910, sndindex+16, clock, intf); } static void *ym2149_start(const char *tag, int sndindex, int clock, const void *config) { - static const AY8910_interface generic_ay8910 = + static const ay8910_interface generic_ay8910 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, NULL, NULL, NULL, NULL }; - const AY8910_interface *intf = (config ? config : &generic_ay8910); + const ay8910_interface *intf = (config ? config : &generic_ay8910); return ay8910_start_ym(SOUND_YM2149, sndindex+16, clock, intf); } diff --git a/src/emu/sound/ay8910.h b/src/emu/sound/ay8910.h index 6cc8120fcf9..270c6db1cc1 100644 --- a/src/emu/sound/ay8910.h +++ b/src/emu/sound/ay8910.h @@ -59,8 +59,8 @@ YMZ294: 0 I/O port /* TODO: implement mixing module */ #define AY8910_RAW_OUTPUT (8) -typedef struct _AY8910_interface AY8910_interface; -struct _AY8910_interface +typedef struct _ay8910_interface ay8910_interface; +struct _ay8910_interface { int flags; /* Flags */ int res_load[3]; /* Load on channel in ohms */ @@ -124,7 +124,7 @@ WRITE16_HANDLER( AY8910_write_port_4_msb_w ); /*********** An interface for SSG of YM2203 ***********/ -void *ay8910_start_ym(sound_type chip_type, int sndindex, int clock, const AY8910_interface *intf); +void *ay8910_start_ym(sound_type chip_type, int sndindex, int clock, const ay8910_interface *intf); void ay8910_stop_ym(void *chip); void ay8910_reset_ym(void *chip); diff --git a/src/emu/sound/sn76477.c b/src/emu/sound/sn76477.c index 6b08c76337c..7e8df5c7d2e 100644 --- a/src/emu/sound/sn76477.c +++ b/src/emu/sound/sn76477.c @@ -98,7 +98,7 @@ #if TEST_MODE #include "input.h" -static const SN76477_interface empty_interface = +static const sn76477_interface empty_interface = { 0, /* 4 noise_clock_res */ 0, /* 5 filter_res */ @@ -2390,11 +2390,11 @@ static void state_save_register(struct SN76477 *sn) static void *sn76477_start(const char *tag, int sndindex, int clock, const void *config) { struct SN76477 *sn; - SN76477_interface *intf; + sn76477_interface *intf; #if TEST_MODE == 0 - intf = (SN76477_interface *)config; + intf = (sn76477_interface *)config; #else intf = &test_interface; #endif diff --git a/src/emu/sound/sn76477.h b/src/emu/sound/sn76477.h index 5eb7b137f89..40b665e0378 100644 --- a/src/emu/sound/sn76477.h +++ b/src/emu/sound/sn76477.h @@ -46,8 +46,8 @@ * *****************************************************************************/ -typedef struct _SN76477_interface SN76477_interface; -struct _SN76477_interface +typedef struct _sn76477_interface sn76477_interface; +struct _sn76477_interface { double noise_clock_res; double noise_filter_res; diff --git a/src/mame/audio/8080bw.c b/src/mame/audio/8080bw.c index 37f267d5b7d..ec0dcc015ea 100644 --- a/src/mame/audio/8080bw.c +++ b/src/mame/audio/8080bw.c @@ -665,7 +665,7 @@ WRITE8_HANDLER( polaris_sh_port_3_w ) #define SCHASER_4V SCHASER_HSYNC /2 /4 #define SCHASER_8V SCHASER_HSYNC /2 /8 -const SN76477_interface schaser_sn76477_interface = +const sn76477_interface schaser_sn76477_interface = { RES_K( 47), /* 4 noise_res */ RES_K(330), /* 5 filter_res */ diff --git a/src/mame/audio/astrof.c b/src/mame/audio/astrof.c index 35498f386a7..a3bb2888ce0 100644 --- a/src/mame/audio/astrof.c +++ b/src/mame/audio/astrof.c @@ -237,7 +237,7 @@ WRITE8_HANDLER( tomahawk_audio_w ) } -static const SN76477_interface tomahawk_sn76477_interface = +static const sn76477_interface tomahawk_sn76477_interface = { 0, /* 4 noise_res (N/C) */ 0, /* 5 filter_res (N/C) */ diff --git a/src/mame/audio/cclimber.c b/src/mame/audio/cclimber.c index 8e81cf082e5..527367d9712 100644 --- a/src/mame/audio/cclimber.c +++ b/src/mame/audio/cclimber.c @@ -77,7 +77,7 @@ WRITE8_HANDLER( cclimber_sample_trigger_w ) } -const AY8910_interface cclimber_ay8910_interface = +const ay8910_interface cclimber_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/audio/cinemat.c b/src/mame/audio/cinemat.c index 333a8c058c7..02c3afc5759 100644 --- a/src/mame/audio/cinemat.c +++ b/src/mame/audio/cinemat.c @@ -1469,7 +1469,7 @@ static WRITE8_HANDLER( sound_output_w ) } -static const AY8910_interface demon_ay8910_interface_1 = +static const ay8910_interface demon_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1479,7 +1479,7 @@ static const AY8910_interface demon_ay8910_interface_1 = sound_portb_w }; -static const AY8910_interface demon_ay8910_interface_3 = +static const ay8910_interface demon_ay8910_interface_3 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/audio/crbaloon.c b/src/mame/audio/crbaloon.c index 60d89402ab4..52084646ee9 100644 --- a/src/mame/audio/crbaloon.c +++ b/src/mame/audio/crbaloon.c @@ -136,7 +136,7 @@ DISCRETE_SOUND_END -static const SN76477_interface crbaloon_sn76477_interface = +static const sn76477_interface crbaloon_sn76477_interface = { RES_K( 47), /* 4 noise_res */ RES_K(330), /* 5 filter_res */ diff --git a/src/mame/audio/irem.c b/src/mame/audio/irem.c index 8a5ffdbb884..4974cd5fcda 100644 --- a/src/mame/audio/irem.c +++ b/src/mame/audio/irem.c @@ -197,7 +197,7 @@ static void adpcm_int(running_machine *machine, int data) * and put with 470 KOhm to gnd. * The following is a approximation */ -static const AY8910_interface irem_ay8910_interface_1 = +static const ay8910_interface irem_ay8910_interface_1 = { AY8910_SINGLE_OUTPUT, {470, 0, 0}, @@ -207,7 +207,7 @@ static const AY8910_interface irem_ay8910_interface_1 = ay8910_0_portb_w }; -static const AY8910_interface irem_ay8910_interface_2 = +static const ay8910_interface irem_ay8910_interface_2 = { AY8910_SINGLE_OUTPUT, {470, 0, 0}, diff --git a/src/mame/audio/mario.c b/src/mame/audio/mario.c index 8705010d129..2f3e2cd52ab 100644 --- a/src/mame/audio/mario.c +++ b/src/mame/audio/mario.c @@ -428,7 +428,7 @@ ADDRESS_MAP_END * *************************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/audio/mcr.c b/src/mame/audio/mcr.c index 96006102297..483a35e74b3 100644 --- a/src/mame/audio/mcr.c +++ b/src/mame/audio/mcr.c @@ -444,7 +444,7 @@ void ssio_set_custom_output(int which, int mask, write8_machine_func handler) /********* sound interfaces ***********/ -static const AY8910_interface ssio_ay8910_interface_1 = +static const ay8910_interface ssio_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -454,7 +454,7 @@ static const AY8910_interface ssio_ay8910_interface_1 = ssio_portb0_w }; -static const AY8910_interface ssio_ay8910_interface_2 = +static const ay8910_interface ssio_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/audio/mw8080bw.c b/src/mame/audio/mw8080bw.c index e609ad56bcc..eac4eeffee5 100644 --- a/src/mame/audio/mw8080bw.c +++ b/src/mame/audio/mw8080bw.c @@ -2177,7 +2177,7 @@ WRITE8_HANDLER( dogpatch_audio_w ) * Apr 2007, D.R. *************************************/ -static const SN76477_interface spcenctr_sn76477_interface = +static const sn76477_interface spcenctr_sn76477_interface = { 0, /* 4 noise_res (N/C) */ 0, /* 5 filter_res (N/C) */ @@ -2993,7 +2993,7 @@ WRITE8_HANDLER( bowler_audio_6_w ) * *************************************/ -static const SN76477_interface invaders_sn76477_interface = +static const sn76477_interface invaders_sn76477_interface = { 0, /* 4 noise_res (N/C) */ 0, /* 5 filter_res (N/C) */ @@ -3816,7 +3816,7 @@ WRITE8_HANDLER( blueshrk_audio_w ) * *************************************/ -static const SN76477_interface invad2ct_p1_sn76477_interface = +static const sn76477_interface invad2ct_p1_sn76477_interface = { 0, /* 4 noise_res (N/C) */ 0, /* 5 filter_res (N/C) */ @@ -3844,7 +3844,7 @@ static const SN76477_interface invad2ct_p1_sn76477_interface = }; -static const SN76477_interface invad2ct_p2_sn76477_interface = +static const sn76477_interface invad2ct_p2_sn76477_interface = { 0, /* 4 noise_res (N/C) */ 0, /* 5 filter_res (N/C) */ diff --git a/src/mame/audio/n8080.c b/src/mame/audio/n8080.c index cb469b957ff..9f8b8471f63 100644 --- a/src/mame/audio/n8080.c +++ b/src/mame/audio/n8080.c @@ -30,7 +30,7 @@ static int mono_flop[3]; -static const SN76477_interface sheriff_sn76477_interface = +static const sn76477_interface sheriff_sn76477_interface = { RES_K(36) , /* 04 */ RES_K(100) , /* 05 */ @@ -58,7 +58,7 @@ static const SN76477_interface sheriff_sn76477_interface = }; -static const SN76477_interface spacefev_sn76477_interface = +static const sn76477_interface spacefev_sn76477_interface = { RES_K(36) , /* 04 */ RES_K(150) , /* 05 */ diff --git a/src/mame/audio/redalert.c b/src/mame/audio/redalert.c index 8d3f7a0ed2b..c14928a8908 100644 --- a/src/mame/audio/redalert.c +++ b/src/mame/audio/redalert.c @@ -125,7 +125,7 @@ static WRITE8_HANDLER( redalert_ay8910_latch_2_w ) } -static const AY8910_interface redalert_ay8910_interface = +static const ay8910_interface redalert_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -311,7 +311,7 @@ static ADDRESS_MAP_START( demoneye_audio_map, ADDRESS_SPACE_PROGRAM, 8 ) ADDRESS_MAP_END -static const AY8910_interface demoneye_ay8910_interface = +static const ay8910_interface demoneye_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/audio/rockola.c b/src/mame/audio/rockola.c index 450559ac0be..f9606021539 100644 --- a/src/mame/audio/rockola.c +++ b/src/mame/audio/rockola.c @@ -142,7 +142,7 @@ const samples_interface fantasy_samples_interface = }; -const SN76477_interface sasuke_sn76477_intf_1 = +const sn76477_interface sasuke_sn76477_intf_1 = { RES_K(470), /* 4 noise_res */ RES_K(150), /* 5 filter_res */ @@ -171,7 +171,7 @@ const SN76477_interface sasuke_sn76477_intf_1 = // ic48 GND: 2,22,26,27,28 +5V: 1,15,25 }; -const SN76477_interface sasuke_sn76477_intf_2 = +const sn76477_interface sasuke_sn76477_intf_2 = { RES_K(340), /* 4 noise_res */ RES_K(47), /* 5 filter_res */ @@ -200,7 +200,7 @@ const SN76477_interface sasuke_sn76477_intf_2 = // ic51 GND: 2,26,27 +5V: 1,15,22,25,28 }; -const SN76477_interface sasuke_sn76477_intf_3 = +const sn76477_interface sasuke_sn76477_intf_3 = { RES_K(330), /* 4 noise_res */ RES_K(47), /* 5 filter_res */ @@ -229,7 +229,7 @@ const SN76477_interface sasuke_sn76477_intf_3 = // ic52 GND: 2,22,27,28 +5V: 1,15,25,26 }; -const SN76477_interface satansat_sn76477_intf = +const sn76477_interface satansat_sn76477_intf = { RES_K(470), /* 4 noise_res */ RES_M(1.5), /* 5 filter_res */ @@ -258,7 +258,7 @@ const SN76477_interface satansat_sn76477_intf = // ??? GND: 2,26,27 +5V: 15,25 }; -const SN76477_interface vanguard_sn76477_intf_1 = +const sn76477_interface vanguard_sn76477_intf_1 = { RES_K(470), /* 4 noise_res */ RES_M(1.5), /* 5 filter_res */ @@ -287,7 +287,7 @@ const SN76477_interface vanguard_sn76477_intf_1 = // SHOT A GND: 2,9,26,27 +5V: 15,25 }; -const SN76477_interface vanguard_sn76477_intf_2 = +const sn76477_interface vanguard_sn76477_intf_2 = { RES_K(10), /* 4 noise_res */ RES_K(30), /* 5 filter_res */ @@ -316,7 +316,7 @@ const SN76477_interface vanguard_sn76477_intf_2 = // SHOT B GND: 1,2,26,27 +5V: 15,25,28 }; -const SN76477_interface fantasy_sn76477_intf = +const sn76477_interface fantasy_sn76477_intf = { RES_K(470), /* 4 noise_res */ RES_M(1.5), /* 5 filter_res */ diff --git a/src/mame/audio/scramble.c b/src/mame/audio/scramble.c index befc7d781dd..9f4aabb0b0f 100644 --- a/src/mame/audio/scramble.c +++ b/src/mame/audio/scramble.c @@ -378,7 +378,7 @@ static const struct TMS5110interface ad2083_tms5110_interface = }; -static const AY8910_interface ad2083_ay8910_interface_1 = +static const ay8910_interface ad2083_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -388,7 +388,7 @@ static const AY8910_interface ad2083_ay8910_interface_1 = NULL }; -static const AY8910_interface ad2083_ay8910_interface_2 = +static const ay8910_interface ad2083_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/audio/timeplt.c b/src/mame/audio/timeplt.c index b764f969dbf..0533aa4618d 100644 --- a/src/mame/audio/timeplt.c +++ b/src/mame/audio/timeplt.c @@ -152,7 +152,7 @@ ADDRESS_MAP_END * *************************************/ -static const AY8910_interface timeplt_ay8910_interface = +static const ay8910_interface timeplt_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/40love.c b/src/mame/drivers/40love.c index 30276261c1e..e1be8dca269 100644 --- a/src/mame/drivers/40love.c +++ b/src/mame/drivers/40love.c @@ -1003,7 +1003,7 @@ static GFXDECODE_START( 40love ) GFXDECODE_ENTRY( "gfx1", 0, sprite_layout, 0, 64 ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/aeroboto.c b/src/mame/drivers/aeroboto.c index bc71ebf5c41..1f6c6adfd30 100644 --- a/src/mame/drivers/aeroboto.c +++ b/src/mame/drivers/aeroboto.c @@ -218,7 +218,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/alpha68k.c b/src/mame/drivers/alpha68k.c index 57fbf8634e4..f8578e44c89 100644 --- a/src/mame/drivers/alpha68k.c +++ b/src/mame/drivers/alpha68k.c @@ -1858,7 +1858,7 @@ GFXDECODE_END /******************************************************************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/ambush.c b/src/mame/drivers/ambush.c index 5a568ed3417..276649336eb 100644 --- a/src/mame/drivers/ambush.c +++ b/src/mame/drivers/ambush.c @@ -159,7 +159,7 @@ static GFXDECODE_START( ambush ) GFXDECODE_END -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -169,7 +169,7 @@ static const AY8910_interface ay8910_interface_1 = NULL }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/ampoker2.c b/src/mame/drivers/ampoker2.c index e7f0a71ee46..7c04c9f4b5c 100644 --- a/src/mame/drivers/ampoker2.c +++ b/src/mame/drivers/ampoker2.c @@ -1001,7 +1001,7 @@ GFXDECODE_END * AY8910 Interfase * *******************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/arabian.c b/src/mame/drivers/arabian.c index 5ef6382f21b..c70f9a144a9 100644 --- a/src/mame/drivers/arabian.c +++ b/src/mame/drivers/arabian.c @@ -331,7 +331,7 @@ INPUT_PORTS_END * *************************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/arkanoid.c b/src/mame/drivers/arkanoid.c index 3fe77e11202..6f4670dac3c 100644 --- a/src/mame/drivers/arkanoid.c +++ b/src/mame/drivers/arkanoid.c @@ -735,7 +735,7 @@ GFXDECODE_END /* Sound Interfaces */ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/astrocde.c b/src/mame/drivers/astrocde.c index f58a9c65252..9b514bdfb6e 100644 --- a/src/mame/drivers/astrocde.c +++ b/src/mame/drivers/astrocde.c @@ -507,7 +507,7 @@ static z80ctc_interface ctc_intf = }; -static const AY8910_interface ay8912_interface = +static const ay8910_interface ay8912_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/bagman.c b/src/mame/drivers/bagman.c index c54f8c914be..35b17dc1d45 100644 --- a/src/mame/drivers/bagman.c +++ b/src/mame/drivers/bagman.c @@ -429,7 +429,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -439,7 +439,7 @@ static const AY8910_interface ay8910_config = NULL }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/bking.c b/src/mame/drivers/bking.c index e5889410184..9cfd9e75c4d 100644 --- a/src/mame/drivers/bking.c +++ b/src/mame/drivers/bking.c @@ -432,7 +432,7 @@ static WRITE8_HANDLER( portb_w ) if (data != 0x00) logerror("portB = %02x\n",data); } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/blueprnt.c b/src/mame/drivers/blueprnt.c index 44cef624ba9..f96e418bd18 100644 --- a/src/mame/drivers/blueprnt.c +++ b/src/mame/drivers/blueprnt.c @@ -248,7 +248,7 @@ GFXDECODE_END /* Sound Interfaces */ -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -258,7 +258,7 @@ static const AY8910_interface ay8910_interface_1 = NULL }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/bmcbowl.c b/src/mame/drivers/bmcbowl.c index e43cb0277e8..2be697979f1 100644 --- a/src/mame/drivers/bmcbowl.c +++ b/src/mame/drivers/bmcbowl.c @@ -460,7 +460,7 @@ static WRITE8_HANDLER(input_mux_w) } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/buggychl.c b/src/mame/drivers/buggychl.c index 7f47271385f..3cf01384b20 100644 --- a/src/mame/drivers/buggychl.c +++ b/src/mame/drivers/buggychl.c @@ -376,7 +376,7 @@ static WRITE8_HANDLER( portB_1_w ) } -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -386,7 +386,7 @@ static const AY8910_interface ay8910_interface_1 = portB_0_w }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/calomega.c b/src/mame/drivers/calomega.c index 6edc261660e..83411413375 100644 --- a/src/mame/drivers/calomega.c +++ b/src/mame/drivers/calomega.c @@ -1882,7 +1882,7 @@ static MACHINE_RESET( calomega ) * Sound Interfaces * *************************/ -static const AY8910_interface sys903_ay8912_intf = +static const ay8910_interface sys903_ay8912_intf = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1892,7 +1892,7 @@ static const AY8910_interface sys903_ay8912_intf = NULL }; -static const AY8910_interface sys905_ay8912_intf = +static const ay8910_interface sys905_ay8912_intf = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/carrera.c b/src/mame/drivers/carrera.c index 7f48df1d04c..3beaa3d9f1a 100644 --- a/src/mame/drivers/carrera.c +++ b/src/mame/drivers/carrera.c @@ -269,7 +269,7 @@ static READ8_HANDLER( unknown_r ) } /* these are set as input, but I have no idea which input port it uses is for the AY */ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/centiped.c b/src/mame/drivers/centiped.c index b0aa46ad425..989b6df9110 100644 --- a/src/mame/drivers/centiped.c +++ b/src/mame/drivers/centiped.c @@ -1543,7 +1543,7 @@ GFXDECODE_END * *************************************/ -static const AY8910_interface centipdb_ay8910_interface = +static const ay8910_interface centipdb_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/chaknpop.c b/src/mame/drivers/chaknpop.c index 1771cf0ba7f..d35506decd5 100644 --- a/src/mame/drivers/chaknpop.c +++ b/src/mame/drivers/chaknpop.c @@ -77,7 +77,7 @@ static ADDRESS_MAP_START( writemem, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0xc000, 0xffff) AM_WRITE(SMH_BANK1) // bitmap plane 1-4 ADDRESS_MAP_END -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -87,7 +87,7 @@ static const AY8910_interface ay8910_interface_1 = NULL }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/changela.c b/src/mame/drivers/changela.c index 44faaca5e43..9b9466d890f 100644 --- a/src/mame/drivers/changela.c +++ b/src/mame/drivers/changela.c @@ -457,7 +457,7 @@ static INPUT_PORTS_START( changela ) INPUT_PORTS_END -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -467,7 +467,7 @@ static const AY8910_interface ay8910_interface_1 = NULL }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/cherrym.c b/src/mame/drivers/cherrym.c index 1449d96b778..c886939a7b2 100644 --- a/src/mame/drivers/cherrym.c +++ b/src/mame/drivers/cherrym.c @@ -361,7 +361,7 @@ static GFXDECODE_START( cherrym ) GFXDECODE_ENTRY( "gfx2", 0x0020, spritelayout, 0, 16 ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/cherrym2.c b/src/mame/drivers/cherrym2.c index 6ef073a3ca5..52459bb6464 100644 --- a/src/mame/drivers/cherrym2.c +++ b/src/mame/drivers/cherrym2.c @@ -341,7 +341,7 @@ static GFXDECODE_START( alt ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/cidelsa.c b/src/mame/drivers/cidelsa.c index 0d4da02dfba..4f3f3a542ee 100644 --- a/src/mame/drivers/cidelsa.c +++ b/src/mame/drivers/cidelsa.c @@ -159,7 +159,7 @@ static WRITE8_HANDLER( draco_ay8910_port_b_w ) */ } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_SINGLE_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/coinmstr.c b/src/mame/drivers/coinmstr.c index 3e5d95e1b56..9b5159494ea 100644 --- a/src/mame/drivers/coinmstr.c +++ b/src/mame/drivers/coinmstr.c @@ -619,7 +619,7 @@ static MACHINE_RESET( trailblz ) pia_reset(); } -static const AY8910_interface ay8912_interface = +static const ay8910_interface ay8912_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/couple.c b/src/mame/drivers/couple.c index 209ee0185b8..2f4b45de9b8 100644 --- a/src/mame/drivers/couple.c +++ b/src/mame/drivers/couple.c @@ -119,7 +119,7 @@ static WRITE8_HANDLER( merit_prot_w ) } #if 0 -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { input_port_4_r, }; diff --git a/src/mame/drivers/ddayjlc.c b/src/mame/drivers/ddayjlc.c index 1b7177782f7..d181146531b 100644 --- a/src/mame/drivers/ddayjlc.c +++ b/src/mame/drivers/ddayjlc.c @@ -378,7 +378,7 @@ static VIDEO_UPDATE( ddayjlc ) return 0; } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/ddenlovr.c b/src/mame/drivers/ddenlovr.c index 93048626aaf..7d0d986365f 100644 --- a/src/mame/drivers/ddenlovr.c +++ b/src/mame/drivers/ddenlovr.c @@ -6589,7 +6589,7 @@ static MACHINE_DRIVER_START( akamaru ) MACHINE_DRIVER_END -static const AY8910_interface quiz365_ay8910_interface = +static const ay8910_interface quiz365_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -6938,7 +6938,7 @@ static INTERRUPT_GEN( rtc_nmi_irq ) cpunum_set_input_line(machine, 0, INPUT_LINE_NMI, PULSE_LINE); } -static const AY8910_interface mjmyster_ay8910_interface = +static const ay8910_interface mjmyster_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -6988,7 +6988,7 @@ static INTERRUPT_GEN( hginga_irq ) cpunum_set_input_line_and_vector(machine, 0, 0, HOLD_LINE, 0xf8); } -static const AY8910_interface hginga_ay8910_interface = +static const ay8910_interface hginga_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/dlair.c b/src/mame/drivers/dlair.c index ccc9d99455f..8596a73ff8b 100644 --- a/src/mame/drivers/dlair.c +++ b/src/mame/drivers/dlair.c @@ -771,7 +771,7 @@ GFXDECODE_END * *************************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/dominob.c b/src/mame/drivers/dominob.c index ae89e30619b..4683368353d 100644 --- a/src/mame/drivers/dominob.c +++ b/src/mame/drivers/dominob.c @@ -235,7 +235,7 @@ static GFXDECODE_START( dominob ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/dunhuang.c b/src/mame/drivers/dunhuang.c index d76ea23ecbf..d2eacceb17a 100644 --- a/src/mame/drivers/dunhuang.c +++ b/src/mame/drivers/dunhuang.c @@ -663,7 +663,7 @@ GFXDECODE_END Machine Drivers ***************************************************************************/ -static const AY8910_interface dunhuang_ay8910_interface = +static const ay8910_interface dunhuang_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/dwarfd.c b/src/mame/drivers/dwarfd.c index 1481d682765..2d712dcff29 100644 --- a/src/mame/drivers/dwarfd.c +++ b/src/mame/drivers/dwarfd.c @@ -674,7 +674,7 @@ static PALETTE_INIT(dwarfd) palette_set_color(machine, 6, MAKE_RGB(255, 0, 0)); } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/dynax.c b/src/mame/drivers/dynax.c index 07b0e027a24..eb74cd90e69 100644 --- a/src/mame/drivers/dynax.c +++ b/src/mame/drivers/dynax.c @@ -3673,7 +3673,7 @@ MACHINE_DRIVER_END Hana Oriduru ***************************************************************************/ -static const AY8910_interface hnoridur_ay8910_interface = +static const ay8910_interface hnoridur_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -4077,7 +4077,7 @@ MACHINE_DRIVER_END Hanafuda Hana Tengoku ***************************************************************************/ -static const AY8910_interface htengoku_ay8910_interface = +static const ay8910_interface htengoku_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -4140,7 +4140,7 @@ static INTERRUPT_GEN( tenkai_interrupt ) } } -static const AY8910_interface tenkai_ay8910_interface = +static const ay8910_interface tenkai_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/enigma2.c b/src/mame/drivers/enigma2.c index 03dc8f3b045..ba6f804dac0 100644 --- a/src/mame/drivers/enigma2.c +++ b/src/mame/drivers/enigma2.c @@ -390,7 +390,7 @@ static CUSTOM_INPUT( p2_controls_r ) -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/equites.c b/src/mame/drivers/equites.c index 6fcd57c34b5..309dffedcc2 100644 --- a/src/mame/drivers/equites.c +++ b/src/mame/drivers/equites.c @@ -1120,7 +1120,7 @@ static const struct MSM5232interface equites_5232intf = }; -static const AY8910_interface equites_8910intf = +static const ay8910_interface equites_8910intf = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/ettrivia.c b/src/mame/drivers/ettrivia.c index 6f6b2ae7855..d840b2197c4 100644 --- a/src/mame/drivers/ettrivia.c +++ b/src/mame/drivers/ettrivia.c @@ -207,7 +207,7 @@ static VIDEO_UPDATE( ettrivia ) return 0; } -static const AY8910_interface ay8912_interface_2 = +static const ay8910_interface ay8912_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -217,7 +217,7 @@ static const AY8910_interface ay8912_interface_2 = NULL }; -static const AY8910_interface ay8912_interface_3 = +static const ay8910_interface ay8912_interface_3 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/exerion.c b/src/mame/drivers/exerion.c index c8e501d2e4d..c89572d3052 100644 --- a/src/mame/drivers/exerion.c +++ b/src/mame/drivers/exerion.c @@ -258,7 +258,7 @@ GFXDECODE_END * *************************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/flstory.c b/src/mame/drivers/flstory.c index 144095d0e22..94633768508 100644 --- a/src/mame/drivers/flstory.c +++ b/src/mame/drivers/flstory.c @@ -633,7 +633,7 @@ static GFXDECODE_START( flstory ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/funkybee.c b/src/mame/drivers/funkybee.c index 7e63e06a608..90b204e5234 100644 --- a/src/mame/drivers/funkybee.c +++ b/src/mame/drivers/funkybee.c @@ -289,7 +289,7 @@ static GFXDECODE_START( funkybee ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/funworld.c b/src/mame/drivers/funworld.c index 18d536a3c80..8ede8914f68 100644 --- a/src/mame/drivers/funworld.c +++ b/src/mame/drivers/funworld.c @@ -1664,7 +1664,7 @@ static const pia6821_interface pia1_intf = * Sound Interface * ************************/ -static const AY8910_interface ay8910_intf = +static const ay8910_interface ay8910_intf = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/galaxian.c b/src/mame/drivers/galaxian.c index 16b96691512..241b339da7a 100644 --- a/src/mame/drivers/galaxian.c +++ b/src/mame/drivers/galaxian.c @@ -1610,7 +1610,7 @@ GFXDECODE_END * *************************************/ -static const AY8910_interface frogger_ay8910_interface = +static const ay8910_interface frogger_ay8910_interface = { AY8910_DISCRETE_OUTPUT, {RES_K(5.1), RES_K(5.1), RES_K(5.1)}, @@ -1620,7 +1620,7 @@ static const AY8910_interface frogger_ay8910_interface = NULL }; -static const AY8910_interface konami_ay8910_interface_1 = +static const ay8910_interface konami_ay8910_interface_1 = { AY8910_DISCRETE_OUTPUT, {RES_K(5.1), RES_K(5.1), RES_K(5.1)}, @@ -1630,7 +1630,7 @@ static const AY8910_interface konami_ay8910_interface_1 = NULL }; -static const AY8910_interface konami_ay8910_interface_2 = +static const ay8910_interface konami_ay8910_interface_2 = { AY8910_DISCRETE_OUTPUT, {RES_K(5.1), RES_K(5.1), RES_K(5.1)}, @@ -1640,7 +1640,7 @@ static const AY8910_interface konami_ay8910_interface_2 = NULL }; -static const AY8910_interface explorer_ay8910_interface_1 = +static const ay8910_interface explorer_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1650,7 +1650,7 @@ static const AY8910_interface explorer_ay8910_interface_1 = NULL }; -static const AY8910_interface explorer_ay8910_interface_2 = +static const ay8910_interface explorer_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1660,7 +1660,7 @@ static const AY8910_interface explorer_ay8910_interface_2 = NULL }; -static const AY8910_interface sfx_ay8910_interface = +static const ay8910_interface sfx_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1670,7 +1670,7 @@ static const AY8910_interface sfx_ay8910_interface = sfx_sample_control_w }; -static const AY8910_interface scorpion_ay8910_interface = +static const ay8910_interface scorpion_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1680,7 +1680,7 @@ static const AY8910_interface scorpion_ay8910_interface = scorpion_sound_control_w, }; -static const AY8910_interface checkmaj_ay8910_interface = +static const ay8910_interface checkmaj_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/galaxold.c b/src/mame/drivers/galaxold.c index 754d9b2fca7..4c06d3ae5ea 100644 --- a/src/mame/drivers/galaxold.c +++ b/src/mame/drivers/galaxold.c @@ -2276,7 +2276,7 @@ static GFXDECODE_START( _4in1 ) GFXDECODE_ENTRY( "gfx1", 0x4000, _4in1_spritelayout, 0, 8 ) GFXDECODE_END -static const AY8910_interface checkmaj_ay8910_interface = +static const ay8910_interface checkmaj_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -2286,7 +2286,7 @@ static const AY8910_interface checkmaj_ay8910_interface = NULL }; -static const AY8910_interface bongo_ay8910_interface = +static const ay8910_interface bongo_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/gameplan.c b/src/mame/drivers/gameplan.c index e4b87c30b4f..5b04fd7ae39 100644 --- a/src/mame/drivers/gameplan.c +++ b/src/mame/drivers/gameplan.c @@ -1156,7 +1156,7 @@ INPUT_PORTS_END * *************************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/goldstar.c b/src/mame/drivers/goldstar.c index 5be7c02ffca..53654e3b186 100644 --- a/src/mame/drivers/goldstar.c +++ b/src/mame/drivers/goldstar.c @@ -273,7 +273,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/grchamp.c b/src/mame/drivers/grchamp.c index ef392bf4bdf..ab868fc2f83 100644 --- a/src/mame/drivers/grchamp.c +++ b/src/mame/drivers/grchamp.c @@ -448,7 +448,7 @@ static WRITE8_HANDLER( grchamp_portB_2_w ) * *************************************/ -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -458,7 +458,7 @@ static const AY8910_interface ay8910_interface_1 = grchamp_portB_0_w }; -static const AY8910_interface ay8910_interface_3 = +static const ay8910_interface ay8910_interface_3 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/gsword.c b/src/mame/drivers/gsword.c index c42860f50bb..37ee9c20a4f 100644 --- a/src/mame/drivers/gsword.c +++ b/src/mame/drivers/gsword.c @@ -675,7 +675,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/gyruss.c b/src/mame/drivers/gyruss.c index 708fc1ffd48..1378766b1a2 100644 --- a/src/mame/drivers/gyruss.c +++ b/src/mame/drivers/gyruss.c @@ -371,7 +371,7 @@ static GFXDECODE_START( gyruss ) GFXDECODE_END -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_DISCRETE_OUTPUT, { RES_K(3.3), RES_K(3.3), RES_K(3.3) }, @@ -381,7 +381,7 @@ static const AY8910_interface ay8910_interface_1 = gyruss_filter0_w }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_DISCRETE_OUTPUT, { RES_K(3.3), RES_K(3.3), RES_K(3.3) }, @@ -391,7 +391,7 @@ static const AY8910_interface ay8910_interface_2 = gyruss_filter1_w }; -static const AY8910_interface ay8910_interface_3 = +static const ay8910_interface ay8910_interface_3 = { AY8910_DISCRETE_OUTPUT, { RES_K(3.3), RES_K(3.3), RES_K(3.3) }, @@ -401,7 +401,7 @@ static const AY8910_interface ay8910_interface_3 = NULL }; -static const AY8910_interface ay8910_interface_4 = +static const ay8910_interface ay8910_interface_4 = { AY8910_DISCRETE_OUTPUT, { RES_K(3.3), RES_K(3.3), RES_K(3.3) }, @@ -411,7 +411,7 @@ static const AY8910_interface ay8910_interface_4 = NULL }; -static const AY8910_interface ay8910_interface_5 = +static const ay8910_interface ay8910_interface_5 = { AY8910_DISCRETE_OUTPUT, { RES_K(3.3), RES_K(3.3), RES_K(3.3) }, diff --git a/src/mame/drivers/halleys.c b/src/mame/drivers/halleys.c index 475b68db919..95f3cee3183 100644 --- a/src/mame/drivers/halleys.c +++ b/src/mame/drivers/halleys.c @@ -1939,7 +1939,7 @@ static MACHINE_RESET( halleys ) } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/hanaawas.c b/src/mame/drivers/hanaawas.c index d8030783f81..7d6903ea86d 100644 --- a/src/mame/drivers/hanaawas.c +++ b/src/mame/drivers/hanaawas.c @@ -193,7 +193,7 @@ static GFXDECODE_START( hanaawas ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/hanaroku.c b/src/mame/drivers/hanaroku.c index ac06a0af1cd..fa6245d8b70 100644 --- a/src/mame/drivers/hanaroku.c +++ b/src/mame/drivers/hanaroku.c @@ -228,7 +228,7 @@ static GFXDECODE_START( hanaroku ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/hexa.c b/src/mame/drivers/hexa.c index 74dd14288aa..cf759016002 100644 --- a/src/mame/drivers/hexa.c +++ b/src/mame/drivers/hexa.c @@ -121,7 +121,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/holeland.c b/src/mame/drivers/holeland.c index efa78bd4a69..67e0c243c74 100644 --- a/src/mame/drivers/holeland.c +++ b/src/mame/drivers/holeland.c @@ -280,7 +280,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -290,7 +290,7 @@ static const AY8910_interface ay8910_interface_1 = NULL }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/hotblock.c b/src/mame/drivers/hotblock.c index 5befbe46cc0..06ae120a083 100644 --- a/src/mame/drivers/hotblock.c +++ b/src/mame/drivers/hotblock.c @@ -176,7 +176,7 @@ static INTERRUPT_GEN( hotblocks_irq ) /* right? */ cpunum_set_input_line(machine, 0, INPUT_LINE_NMI, PULSE_LINE); } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/hyhoo.c b/src/mame/drivers/hyhoo.c index 678524a31dc..eccc11d3b6b 100644 --- a/src/mame/drivers/hyhoo.c +++ b/src/mame/drivers/hyhoo.c @@ -255,7 +255,7 @@ static INPUT_PORTS_START( hyhoo2 ) INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/jack.c b/src/mame/drivers/jack.c index f379c534979..159370e8922 100644 --- a/src/mame/drivers/jack.c +++ b/src/mame/drivers/jack.c @@ -863,7 +863,7 @@ static GFXDECODE_START( joinem ) GFXDECODE_ENTRY( "gfx1", 0, joinem_charlayout, 0, 32 ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/jongkyo.c b/src/mame/drivers/jongkyo.c index fd8cbff6d1c..f21ce0cad4e 100644 --- a/src/mame/drivers/jongkyo.c +++ b/src/mame/drivers/jongkyo.c @@ -579,7 +579,7 @@ static PALETTE_INIT(jongkyo) } } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/junofrst.c b/src/mame/drivers/junofrst.c index 27bbc13d15b..1e28fe45c1c 100644 --- a/src/mame/drivers/junofrst.c +++ b/src/mame/drivers/junofrst.c @@ -321,7 +321,7 @@ INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/kaneko16.c b/src/mame/drivers/kaneko16.c index 06d1e389c6e..d0070aae1b9 100644 --- a/src/mame/drivers/kaneko16.c +++ b/src/mame/drivers/kaneko16.c @@ -1646,7 +1646,7 @@ static INTERRUPT_GEN( kaneko16_interrupt ) } } -static const AY8910_interface ay8910_intf_dsw = +static const ay8910_interface ay8910_intf_dsw = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1656,7 +1656,7 @@ static const AY8910_interface ay8910_intf_dsw = NULL, }; -static const AY8910_interface ay8910_intf_eeprom = +static const ay8910_interface ay8910_intf_eeprom = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/kingobox.c b/src/mame/drivers/kingobox.c index 76a5278ec49..a670871f68a 100644 --- a/src/mame/drivers/kingobox.c +++ b/src/mame/drivers/kingobox.c @@ -536,7 +536,7 @@ static GFXDECODE_START( rk ) GFXDECODE_ENTRY( "gfx4", 0x00000, rk_bglayout, 0, 32 ) /* bg tiles */ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/kncljoe.c b/src/mame/drivers/kncljoe.c index c078a1b9849..ebe2f366f54 100644 --- a/src/mame/drivers/kncljoe.c +++ b/src/mame/drivers/kncljoe.c @@ -244,7 +244,7 @@ static GFXDECODE_START( kncljoe ) GFXDECODE_ENTRY( "gfx3", 0, spritelayout, 0x80, 16 ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/koikoi.c b/src/mame/drivers/koikoi.c index ef202699b44..e9d3bcf4608 100644 --- a/src/mame/drivers/koikoi.c +++ b/src/mame/drivers/koikoi.c @@ -245,7 +245,7 @@ static GFXDECODE_START( koikoi ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/ksayakyu.c b/src/mame/drivers/ksayakyu.c index 8b0e2fcec57..0505884a007 100644 --- a/src/mame/drivers/ksayakyu.c +++ b/src/mame/drivers/ksayakyu.c @@ -178,7 +178,7 @@ static WRITE8_HANDLER(dummy_w) //DAC ? communication with main cpu ? } -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -188,7 +188,7 @@ static const AY8910_interface ay8910_interface_1 = dummy_w }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/kyugo.c b/src/mame/drivers/kyugo.c index a653f848629..833d532e45c 100644 --- a/src/mame/drivers/kyugo.c +++ b/src/mame/drivers/kyugo.c @@ -477,7 +477,7 @@ GFXDECODE_END * *************************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/ladyfrog.c b/src/mame/drivers/ladyfrog.c index 4a7e6fb2070..0624a46ba3d 100644 --- a/src/mame/drivers/ladyfrog.c +++ b/src/mame/drivers/ladyfrog.c @@ -121,7 +121,7 @@ static WRITE8_HANDLER(unk_w) } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/laserbat.c b/src/mame/drivers/laserbat.c index fd1ec156518..31fa0fb37b9 100644 --- a/src/mame/drivers/laserbat.c +++ b/src/mame/drivers/laserbat.c @@ -565,7 +565,7 @@ static VIDEO_UPDATE( laserbat ) /* Laser Battle sound **********************************/ -static const SN76477_interface laserbat_sn76477_interface = +static const sn76477_interface laserbat_sn76477_interface = { RES_K(47), /* 4 noise_res R21 47K */ 0, /* 5 filter_res (variable) */ @@ -658,7 +658,7 @@ static const pia6821_interface pia_0_intf = /*irqs : A/B */ zaccaria_irq0a, zaccaria_irq0b }; -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/leland.c b/src/mame/drivers/leland.c index ec08a592a23..1f5c0ff74a3 100644 --- a/src/mame/drivers/leland.c +++ b/src/mame/drivers/leland.c @@ -682,7 +682,7 @@ INPUT_PORTS_END register. */ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/looping.c b/src/mame/drivers/looping.c index 807e677bd25..5d3cd7587ca 100644 --- a/src/mame/drivers/looping.c +++ b/src/mame/drivers/looping.c @@ -562,7 +562,7 @@ static const struct TMS5220interface tms5220_interface = looping_spcint }; -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/lucky74.c b/src/mame/drivers/lucky74.c index 10c4b55832e..1fa6eb90732 100644 --- a/src/mame/drivers/lucky74.c +++ b/src/mame/drivers/lucky74.c @@ -802,7 +802,7 @@ static const ppi8255_interface ppi8255_intf[4] = * Sound Interfaces * *****************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/lucky8.c b/src/mame/drivers/lucky8.c index 5e0f7ff7837..078099764e5 100644 --- a/src/mame/drivers/lucky8.c +++ b/src/mame/drivers/lucky8.c @@ -344,7 +344,7 @@ static GFXDECODE_START( lucky8 ) GFXDECODE_ENTRY( "gfx2", 0x1000, spritelayout2, 0, 64 ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/lvcards.c b/src/mame/drivers/lvcards.c index 260b5d47d07..b9a3a942fa7 100644 --- a/src/mame/drivers/lvcards.c +++ b/src/mame/drivers/lvcards.c @@ -456,7 +456,7 @@ GFXDECODE_END /* Sound Interfaces */ -static const AY8910_interface lcay8910_interface = +static const ay8910_interface lcay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/madalien.c b/src/mame/drivers/madalien.c index 6c9f2c20efb..39d143502b4 100644 --- a/src/mame/drivers/madalien.c +++ b/src/mame/drivers/madalien.c @@ -161,7 +161,7 @@ static INPUT_PORTS_START( madalien ) INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/magmax.c b/src/mame/drivers/magmax.c index 69c2f7178e0..60212e32743 100644 --- a/src/mame/drivers/magmax.c +++ b/src/mame/drivers/magmax.c @@ -350,7 +350,7 @@ static GFXDECODE_START( magmax ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/malzak.c b/src/mame/drivers/malzak.c index b50cab9095c..d8ed33675fa 100644 --- a/src/mame/drivers/malzak.c +++ b/src/mame/drivers/malzak.c @@ -309,7 +309,7 @@ static PALETTE_INIT( malzak ) } -static const SN76477_interface sn76477_intf = +static const sn76477_interface sn76477_intf = { 0, /* N/C */ /* 4 noise_res */ 0, /* N/C */ /* 5 filter_res */ diff --git a/src/mame/drivers/mazerbla.c b/src/mame/drivers/mazerbla.c index bb75bafdcf3..04f544fb954 100644 --- a/src/mame/drivers/mazerbla.c +++ b/src/mame/drivers/mazerbla.c @@ -1470,7 +1470,7 @@ static MACHINE_RESET( greatgun ) /* only Great Guns */ -static const AY8910_interface ay8912_interface_1 = +static const ay8910_interface ay8912_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1480,7 +1480,7 @@ static const AY8910_interface ay8912_interface_1 = NULL }; -static const AY8910_interface ay8912_interface_2 = +static const ay8910_interface ay8912_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/megazone.c b/src/mame/drivers/megazone.c index 0f2a1ed3e96..9ce56716bb7 100644 --- a/src/mame/drivers/megazone.c +++ b/src/mame/drivers/megazone.c @@ -299,7 +299,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/meijinsn.c b/src/mame/drivers/meijinsn.c index 219fe62a6fc..f59b0f447a5 100644 --- a/src/mame/drivers/meijinsn.c +++ b/src/mame/drivers/meijinsn.c @@ -289,7 +289,7 @@ static INTERRUPT_GEN( meijinsn_interrupt ) cpunum_set_input_line(machine, 0, 2, HOLD_LINE); } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/merit.c b/src/mame/drivers/merit.c index b619befed55..67a79a9fed0 100644 --- a/src/mame/drivers/merit.c +++ b/src/mame/drivers/merit.c @@ -789,7 +789,7 @@ static const ppi8255_interface ppi8255_intf[2] = } }; -static const AY8910_interface merit_ay8912_interface = +static const ay8910_interface merit_ay8912_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/meritm.c b/src/mame/drivers/meritm.c index 77710b1bc44..fd466ab3712 100644 --- a/src/mame/drivers/meritm.c +++ b/src/mame/drivers/meritm.c @@ -729,7 +729,7 @@ static WRITE8_HANDLER(meritm_ay8930_port_b_w) // lamps }; -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/mjsister.c b/src/mame/drivers/mjsister.c index 8849326f1a8..8ac062dad09 100644 --- a/src/mame/drivers/mjsister.c +++ b/src/mame/drivers/mjsister.c @@ -298,7 +298,7 @@ INPUT_PORTS_END /****************************************************************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/mjsiyoub.c b/src/mame/drivers/mjsiyoub.c index 70b13df1ca0..a11045863f2 100644 --- a/src/mame/drivers/mjsiyoub.c +++ b/src/mame/drivers/mjsiyoub.c @@ -65,7 +65,7 @@ static INPUT_PORTS_START( mjsiyoub ) INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/mpu4.c b/src/mame/drivers/mpu4.c index f742f5c55ea..aca43a1be3f 100644 --- a/src/mame/drivers/mpu4.c +++ b/src/mame/drivers/mpu4.c @@ -1395,7 +1395,7 @@ static ADDRESS_MAP_START( mod2_memmap, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0x1000, 0xffff) AM_READ(SMH_BANK1) /* 64k paged ROM (4 pages) */ ADDRESS_MAP_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_SINGLE_OUTPUT, {820,0,0}, diff --git a/src/mame/drivers/nbmj8688.c b/src/mame/drivers/nbmj8688.c index a7a35fc79ad..d08965bcd67 100644 --- a/src/mame/drivers/nbmj8688.c +++ b/src/mame/drivers/nbmj8688.c @@ -2808,7 +2808,7 @@ static INPUT_PORTS_START( nightlov ) INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/nbmj8891.c b/src/mame/drivers/nbmj8891.c index ec39f8e786c..b65d3d705d2 100644 --- a/src/mame/drivers/nbmj8891.c +++ b/src/mame/drivers/nbmj8891.c @@ -2709,7 +2709,7 @@ INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/nbmj8991.c b/src/mame/drivers/nbmj8991.c index b4d4de701e4..2fb11dfa2ac 100644 --- a/src/mame/drivers/nbmj8991.c +++ b/src/mame/drivers/nbmj8991.c @@ -1577,7 +1577,7 @@ static INPUT_PORTS_START( av2mj2rg ) INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/nemesis.c b/src/mame/drivers/nemesis.c index daea654299d..a7d6a6f1cbd 100644 --- a/src/mame/drivers/nemesis.c +++ b/src/mame/drivers/nemesis.c @@ -2086,7 +2086,7 @@ GFXDECODE_END /******************************************************************************/ -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -2096,7 +2096,7 @@ static const AY8910_interface ay8910_interface_1 = NULL }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/nova2001.c b/src/mame/drivers/nova2001.c index 7ca8e22eb57..112337e4982 100644 --- a/src/mame/drivers/nova2001.c +++ b/src/mame/drivers/nova2001.c @@ -651,7 +651,7 @@ GFXDECODE_END * *************************************/ -static const AY8910_interface nova2001_ay8910_interface_1 = +static const ay8910_interface nova2001_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -661,7 +661,7 @@ static const AY8910_interface nova2001_ay8910_interface_1 = nova2001_scroll_y_w }; -static const AY8910_interface nova2001_ay8910_interface_2 = +static const ay8910_interface nova2001_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -671,7 +671,7 @@ static const AY8910_interface nova2001_ay8910_interface_2 = NULL }; -static const AY8910_interface pkunwar_ay8910_interface_1 = +static const ay8910_interface pkunwar_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -681,7 +681,7 @@ static const AY8910_interface pkunwar_ay8910_interface_1 = NULL }; -static const AY8910_interface pkunwar_ay8910_interface_2 = +static const ay8910_interface pkunwar_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/nycaptor.c b/src/mame/drivers/nycaptor.c index 52c94c93b8c..f9bdca56a50 100644 --- a/src/mame/drivers/nycaptor.c +++ b/src/mame/drivers/nycaptor.c @@ -263,7 +263,7 @@ static WRITE8_HANDLER(unk_w) } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/nyny.c b/src/mame/drivers/nyny.c index 6b489df68f0..b0eba6597c0 100644 --- a/src/mame/drivers/nyny.c +++ b/src/mame/drivers/nyny.c @@ -459,7 +459,7 @@ static WRITE8_HANDLER( nyny_ay8910_37_port_b_w ) } -static const AY8910_interface ay8910_37_interface = +static const ay8910_interface ay8910_37_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -470,7 +470,7 @@ static const AY8910_interface ay8910_37_interface = }; -static const AY8910_interface ay8910_64_interface = +static const ay8910_interface ay8910_64_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/ojankohs.c b/src/mame/drivers/ojankohs.c index 21d254ff463..9e5043fbc84 100644 --- a/src/mame/drivers/ojankohs.c +++ b/src/mame/drivers/ojankohs.c @@ -841,7 +841,7 @@ static GFXDECODE_START( ojankohs ) GFXDECODE_END -static const AY8910_interface ojankohs_ay8910_interface = +static const ay8910_interface ojankohs_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -849,7 +849,7 @@ static const AY8910_interface ojankohs_ay8910_interface = ojankohs_ay8910_1_r /* read port #1 */ }; -static const AY8910_interface ojankoy_ay8910_interface = +static const ay8910_interface ojankoy_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -857,7 +857,7 @@ static const AY8910_interface ojankoy_ay8910_interface = ojankoy_ay8910_1_r, /* read port #1 */ }; -static const AY8910_interface ojankoc_ay8910_interface = +static const ay8910_interface ojankoc_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/pacman.c b/src/mame/drivers/pacman.c index e86ae007881..e9997e0ba82 100644 --- a/src/mame/drivers/pacman.c +++ b/src/mame/drivers/pacman.c @@ -3321,7 +3321,7 @@ static MACHINE_DRIVER_START( crush4 ) MDRV_GFXDECODE(crush4) MACHINE_DRIVER_END -static const AY8910_interface crushs_ay8910_interface = +static const ay8910_interface crushs_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/pandoras.c b/src/mame/drivers/pandoras.c index 320d2e1dd14..dd89b5fd912 100644 --- a/src/mame/drivers/pandoras.c +++ b/src/mame/drivers/pandoras.c @@ -367,7 +367,7 @@ static READ8_HANDLER( pandoras_portB_r ) return (activecpu_gettotalcycles() / 512) & 0x0f; } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/pastelg.c b/src/mame/drivers/pastelg.c index cfdc7fb6bd1..89c9f911153 100644 --- a/src/mame/drivers/pastelg.c +++ b/src/mame/drivers/pastelg.c @@ -181,7 +181,7 @@ static INPUT_PORTS_START( pastelg ) INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/phoenix.c b/src/mame/drivers/phoenix.c index 0cdd4474a6c..60e66ea202f 100644 --- a/src/mame/drivers/phoenix.c +++ b/src/mame/drivers/phoenix.c @@ -419,7 +419,7 @@ static const custom_sound_interface pleiads_custom_interface = pleiads_sh_start }; -static const AY8910_interface survival_ay8910_interface = +static const ay8910_interface survival_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/pitnrun.c b/src/mame/drivers/pitnrun.c index 6160ef4d9f8..5bb8981bd5f 100644 --- a/src/mame/drivers/pitnrun.c +++ b/src/mame/drivers/pitnrun.c @@ -242,7 +242,7 @@ static const gfx_layout charlayout = 8*8*2 }; -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/popeye.c b/src/mame/drivers/popeye.c index 86b024e20d7..9ada283651e 100644 --- a/src/mame/drivers/popeye.c +++ b/src/mame/drivers/popeye.c @@ -469,7 +469,7 @@ static READ8_HANDLER( popeye_portA_r ) return res; } -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/r2dtank.c b/src/mame/drivers/r2dtank.c index df629881b84..4b193585029 100644 --- a/src/mame/drivers/r2dtank.c +++ b/src/mame/drivers/r2dtank.c @@ -190,7 +190,7 @@ static WRITE8_HANDLER( AY8910_port_w ) } -static const AY8910_interface ay8910_1_interface = +static const ay8910_interface ay8910_1_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -201,7 +201,7 @@ static const AY8910_interface ay8910_1_interface = }; -static const AY8910_interface ay8910_2_interface = +static const ay8910_interface ay8910_2_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/rcasino.c b/src/mame/drivers/rcasino.c index 3bd535c79f2..75fc7fd86f8 100644 --- a/src/mame/drivers/rcasino.c +++ b/src/mame/drivers/rcasino.c @@ -283,7 +283,7 @@ static GFXDECODE_START( rcasino ) GFXDECODE_ENTRY( "gfx2", 0x0000, charlayout2, 0, 16 ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/rmhaihai.c b/src/mame/drivers/rmhaihai.c index 819a1039ca2..4841b0f7bda 100644 --- a/src/mame/drivers/rmhaihai.c +++ b/src/mame/drivers/rmhaihai.c @@ -430,7 +430,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/route16.c b/src/mame/drivers/route16.c index 8f5a6e3a344..8ae530becfc 100644 --- a/src/mame/drivers/route16.c +++ b/src/mame/drivers/route16.c @@ -567,7 +567,7 @@ INPUT_PORTS_END -static const AY8910_interface stratvox_ay8910_interface = +static const ay8910_interface stratvox_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -578,7 +578,7 @@ static const AY8910_interface stratvox_ay8910_interface = }; -static const SN76477_interface sn76477_intf = +static const sn76477_interface sn76477_intf = { RES_K(47), /* 4 noise_res */ RES_K(150), /* 5 filter_res */ diff --git a/src/mame/drivers/royalmah.c b/src/mame/drivers/royalmah.c index d8de5ce4b14..37998e0f61e 100644 --- a/src/mame/drivers/royalmah.c +++ b/src/mame/drivers/royalmah.c @@ -2205,7 +2205,7 @@ static INPUT_PORTS_START( mjdejavu ) INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/scobra.c b/src/mame/drivers/scobra.c index dfa15419c46..a09a64e624f 100644 --- a/src/mame/drivers/scobra.c +++ b/src/mame/drivers/scobra.c @@ -69,7 +69,7 @@ GFXDECODE_END -static const AY8910_interface hustler_ay8910_interface = +static const ay8910_interface hustler_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1100,7 +1100,7 @@ MM_COMMON2 INPUT_PORTS_END -static const AY8910_interface scobra_ay8910_interface_2 = +static const ay8910_interface scobra_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/scramble.c b/src/mame/drivers/scramble.c index 996e9141261..427ff674183 100644 --- a/src/mame/drivers/scramble.c +++ b/src/mame/drivers/scramble.c @@ -1715,7 +1715,7 @@ static GFXDECODE_START( ad2083 ) GFXDECODE_ENTRY( "gfx1", 0x0000, ad2083_spritelayout, 0, 8 ) GFXDECODE_END -static const AY8910_interface scramble_ay8910_interface_2 = +static const ay8910_interface scramble_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1725,7 +1725,7 @@ static const AY8910_interface scramble_ay8910_interface_2 = NULL }; -static const AY8910_interface sfx_ay8910_interface_1 = +static const ay8910_interface sfx_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1735,7 +1735,7 @@ static const AY8910_interface sfx_ay8910_interface_1 = sfx_sh_irqtrigger_w }; -static const AY8910_interface explorer_ay8910_interface_1 = +static const ay8910_interface explorer_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1745,7 +1745,7 @@ static const AY8910_interface explorer_ay8910_interface_1 = NULL }; -static const AY8910_interface explorer_ay8910_interface_2 = +static const ay8910_interface explorer_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1755,7 +1755,7 @@ static const AY8910_interface explorer_ay8910_interface_2 = NULL }; -static const AY8910_interface hotshock_ay8910_interface_2 = +static const ay8910_interface hotshock_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1765,7 +1765,7 @@ static const AY8910_interface hotshock_ay8910_interface_2 = NULL }; -static const AY8910_interface scorpion_ay8910_interface_1 = +static const ay8910_interface scorpion_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1775,7 +1775,7 @@ static const AY8910_interface scorpion_ay8910_interface_1 = scorpion_sound_cmd_w, }; -static const AY8910_interface triplep_ay8910_interface = +static const ay8910_interface triplep_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/seicross.c b/src/mame/drivers/seicross.c index d440930a721..4dd07244ce9 100644 --- a/src/mame/drivers/seicross.c +++ b/src/mame/drivers/seicross.c @@ -388,7 +388,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/shangha3.c b/src/mame/drivers/shangha3.c index ba5470efc66..f36912bd7d1 100644 --- a/src/mame/drivers/shangha3.c +++ b/src/mame/drivers/shangha3.c @@ -476,7 +476,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/skylncr.c b/src/mame/drivers/skylncr.c index 98cacf42026..ad14b54b410 100644 --- a/src/mame/drivers/skylncr.c +++ b/src/mame/drivers/skylncr.c @@ -409,7 +409,7 @@ static INPUT_PORTS_START( skylncr ) INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/slapfght.c b/src/mame/drivers/slapfght.c index c392849f9f2..695223c0c05 100644 --- a/src/mame/drivers/slapfght.c +++ b/src/mame/drivers/slapfght.c @@ -896,7 +896,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -906,7 +906,7 @@ static const AY8910_interface ay8910_interface_1 = NULL }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/srmp2.c b/src/mame/drivers/srmp2.c index 28fb49eb568..58ac0552cb8 100644 --- a/src/mame/drivers/srmp2.c +++ b/src/mame/drivers/srmp2.c @@ -1024,7 +1024,7 @@ INPUT_PORTS_END ***************************************************************************/ -static const AY8910_interface srmp2_ay8910_interface = +static const ay8910_interface srmp2_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/ssrj.c b/src/mame/drivers/ssrj.c index e32222f1293..5b6df9c0c45 100644 --- a/src/mame/drivers/ssrj.c +++ b/src/mame/drivers/ssrj.c @@ -150,7 +150,7 @@ static GFXDECODE_START( ssrj ) GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 8*4 ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/suna16.c b/src/mame/drivers/suna16.c index c9157558ea3..7644b53ebcb 100644 --- a/src/mame/drivers/suna16.c +++ b/src/mame/drivers/suna16.c @@ -1025,7 +1025,7 @@ static WRITE8_HANDLER( bestbest_ay8910_port_a_w ) // ? } -static const AY8910_interface bestbest_ay8910_interface = +static const ay8910_interface bestbest_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/suna8.c b/src/mame/drivers/suna8.c index 53fafb6e9a1..079d98d9a94 100644 --- a/src/mame/drivers/suna8.c +++ b/src/mame/drivers/suna8.c @@ -1532,7 +1532,7 @@ static void soundirq(running_machine *machine, int state) /* 1 x 24 MHz crystal */ -static const AY8910_interface hardhead_ay8910_interface = +static const ay8910_interface hardhead_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1753,7 +1753,7 @@ MACHINE_DRIVER_END Star Fighter ***************************************************************************/ -static const AY8910_interface starfigh_ay8910_interface = +static const ay8910_interface starfigh_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/superqix.c b/src/mame/drivers/superqix.c index 8f2d482bc92..4e25a3581ab 100644 --- a/src/mame/drivers/superqix.c +++ b/src/mame/drivers/superqix.c @@ -903,7 +903,7 @@ static const samples_interface pbillian_samples_interface = pbillian_sh_start }; -static const AY8910_interface pbillian_ay8910_interface = +static const ay8910_interface pbillian_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -913,7 +913,7 @@ static const AY8910_interface pbillian_ay8910_interface = NULL }; -static const AY8910_interface hotsmash_ay8910_interface = +static const ay8910_interface hotsmash_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -923,7 +923,7 @@ static const AY8910_interface hotsmash_ay8910_interface = NULL }; -static const AY8910_interface sqix_ay8910_interface_1 = +static const ay8910_interface sqix_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -933,7 +933,7 @@ static const AY8910_interface sqix_ay8910_interface_1 = NULL }; -static const AY8910_interface sqix_ay8910_interface_2 = +static const ay8910_interface sqix_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -943,7 +943,7 @@ static const AY8910_interface sqix_ay8910_interface_2 = sqix_z80_mcu_w /* port Bwrite */ }; -static const AY8910_interface bootleg_ay8910_interface_1 = +static const ay8910_interface bootleg_ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -953,7 +953,7 @@ static const AY8910_interface bootleg_ay8910_interface_1 = NULL }; -static const AY8910_interface bootleg_ay8910_interface_2 = +static const ay8910_interface bootleg_ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/suprridr.c b/src/mame/drivers/suprridr.c index 908d766ec15..fcf36566766 100644 --- a/src/mame/drivers/suprridr.c +++ b/src/mame/drivers/suprridr.c @@ -335,7 +335,7 @@ GFXDECODE_END * *************************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/taitosj.c b/src/mame/drivers/taitosj.c index 3e91a14f55b..422bb8fee2c 100644 --- a/src/mame/drivers/taitosj.c +++ b/src/mame/drivers/taitosj.c @@ -1775,7 +1775,7 @@ static WRITE8_HANDLER( dac_vol_w ) } -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1785,7 +1785,7 @@ static const AY8910_interface ay8910_interface_1 = NULL }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1795,7 +1795,7 @@ static const AY8910_interface ay8910_interface_2 = dac_vol_w /* port Bwrite */ }; -static const AY8910_interface ay8910_interface_3 = +static const ay8910_interface ay8910_interface_3 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -1805,7 +1805,7 @@ static const AY8910_interface ay8910_interface_3 = NULL }; -static const AY8910_interface ay8910_interface_4 = +static const ay8910_interface ay8910_interface_4 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/tankbust.c b/src/mame/drivers/tankbust.c index da922107a3a..b73e50069d1 100644 --- a/src/mame/drivers/tankbust.c +++ b/src/mame/drivers/tankbust.c @@ -323,7 +323,7 @@ static GFXDECODE_START( tankbust ) GFXDECODE_ENTRY( "gfx3", 0, charlayout2, 0x60, 16 ) /* txt tilemap characters*/ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/taxidrvr.c b/src/mame/drivers/taxidrvr.c index 94f77edd876..fbcb6f79670 100644 --- a/src/mame/drivers/taxidrvr.c +++ b/src/mame/drivers/taxidrvr.c @@ -335,7 +335,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -345,7 +345,7 @@ static const AY8910_interface ay8910_interface_1 = p8910_0b_w }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/tehkanwc.c b/src/mame/drivers/tehkanwc.c index 0ed8d82bdad..0c60cd0cbe9 100644 --- a/src/mame/drivers/tehkanwc.c +++ b/src/mame/drivers/tehkanwc.c @@ -635,7 +635,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -645,7 +645,7 @@ static const AY8910_interface ay8910_interface_1 = tehkanwc_portB_w }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/thepit.c b/src/mame/drivers/thepit.c index 7610e753c60..027b7757851 100644 --- a/src/mame/drivers/thepit.c +++ b/src/mame/drivers/thepit.c @@ -636,7 +636,7 @@ static GFXDECODE_START( suprmous ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/tickee.c b/src/mame/drivers/tickee.c index 14d5921f514..8d259caaa0f 100644 --- a/src/mame/drivers/tickee.c +++ b/src/mame/drivers/tickee.c @@ -374,7 +374,7 @@ INPUT_PORTS_END * *************************************/ -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -384,7 +384,7 @@ static const AY8910_interface ay8910_interface_1 = NULL }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/timelimt.c b/src/mame/drivers/timelimt.c index 130317ef290..1f0258fe03f 100644 --- a/src/mame/drivers/timelimt.c +++ b/src/mame/drivers/timelimt.c @@ -243,7 +243,7 @@ GFXDECODE_END /***************************************************************************/ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/toratora.c b/src/mame/drivers/toratora.c index 9a1929e82bf..beebd179efd 100644 --- a/src/mame/drivers/toratora.c +++ b/src/mame/drivers/toratora.c @@ -169,7 +169,7 @@ static WRITE8_HANDLER( clear_timer_w ) * *************************************/ -static const SN76477_interface sn76477_intf = +static const sn76477_interface sn76477_intf = { RES_K(47), /* 4 noise_res */ // RES_K(120), /* 5 filter_res */ diff --git a/src/mame/drivers/tubep.c b/src/mame/drivers/tubep.c index 81c5b0b3cd0..b9db0cf3963 100644 --- a/src/mame/drivers/tubep.c +++ b/src/mame/drivers/tubep.c @@ -855,7 +855,7 @@ INPUT_PORTS_END * *************************************/ -static const AY8910_interface ay8910_interface_1 = +static const ay8910_interface ay8910_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -865,7 +865,7 @@ static const AY8910_interface ay8910_interface_1 = ay8910_portB_0_w /* write port B */ }; -static const AY8910_interface ay8910_interface_2 = +static const ay8910_interface ay8910_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -875,7 +875,7 @@ static const AY8910_interface ay8910_interface_2 = ay8910_portB_1_w /* write port B */ }; -static const AY8910_interface ay8910_interface_3 = +static const ay8910_interface ay8910_interface_3 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/twins.c b/src/mame/drivers/twins.c index d5917158381..03bda1e1c56 100644 --- a/src/mame/drivers/twins.c +++ b/src/mame/drivers/twins.c @@ -157,7 +157,7 @@ static INPUT_PORTS_START(twins) INPUT_PORTS_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/tx1.c b/src/mame/drivers/tx1.c index a68f1a1ab69..04bd65b3a20 100644 --- a/src/mame/drivers/tx1.c +++ b/src/mame/drivers/tx1.c @@ -617,7 +617,7 @@ GFXDECODE_END * *************************************/ -static const AY8910_interface tx1_ay8910_interface = +static const ay8910_interface tx1_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -629,7 +629,7 @@ static const AY8910_interface tx1_ay8910_interface = /* YM2149 IC19 */ -static const AY8910_interface buggyboy_ym2149_interface_1 = +static const ay8910_interface buggyboy_ym2149_interface_1 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, @@ -640,7 +640,7 @@ static const AY8910_interface buggyboy_ym2149_interface_1 = }; /* YM2149 IC24 */ -static const AY8910_interface buggyboy_ym2149_interface_2 = +static const ay8910_interface buggyboy_ym2149_interface_2 = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/vastar.c b/src/mame/drivers/vastar.c index dd415cac108..4918638b632 100644 --- a/src/mame/drivers/vastar.c +++ b/src/mame/drivers/vastar.c @@ -292,7 +292,7 @@ GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/vroulet.c b/src/mame/drivers/vroulet.c index b6816cdd37c..d085b1b1cfb 100644 --- a/src/mame/drivers/vroulet.c +++ b/src/mame/drivers/vroulet.c @@ -218,7 +218,7 @@ GFXDECODE_END /* Sound Interface */ -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/wink.c b/src/mame/drivers/wink.c index bcad3dc29f3..394c1029cf6 100644 --- a/src/mame/drivers/wink.c +++ b/src/mame/drivers/wink.c @@ -298,7 +298,7 @@ static READ8_HANDLER( sound_r ) return sound_flag; } -static const AY8910_interface ay8912_interface = +static const ay8910_interface ay8912_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/drivers/zaccaria.c b/src/mame/drivers/zaccaria.c index 0bf8e3aa69c..f9eefd710a5 100644 --- a/src/mame/drivers/zaccaria.c +++ b/src/mame/drivers/zaccaria.c @@ -542,7 +542,7 @@ static GFXDECODE_START( zaccaria ) GFXDECODE_END -static const AY8910_interface ay8910_config = +static const ay8910_interface ay8910_config = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, diff --git a/src/mame/includes/8080bw.h b/src/mame/includes/8080bw.h index 56507e8d47d..c8a3b1adf2f 100644 --- a/src/mame/includes/8080bw.h +++ b/src/mame/includes/8080bw.h @@ -49,7 +49,7 @@ MACHINE_RESET( schaser ); MACHINE_START( schaser ); WRITE8_HANDLER( schaser_sh_port_1_w ); WRITE8_HANDLER( schaser_sh_port_2_w ); -extern const SN76477_interface schaser_sn76477_interface; +extern const sn76477_interface schaser_sn76477_interface; DISCRETE_SOUND_EXTERN( schaser ); WRITE8_HANDLER( rollingc_sh_port_w ); diff --git a/src/mame/includes/cclimber.h b/src/mame/includes/cclimber.h index e373766f76a..d8bceacacab 100644 --- a/src/mame/includes/cclimber.h +++ b/src/mame/includes/cclimber.h @@ -51,7 +51,7 @@ VIDEO_UPDATE( toprollr ); /*----------- defined in audio/cclimber.c -----------*/ -extern const AY8910_interface cclimber_ay8910_interface; +extern const ay8910_interface cclimber_ay8910_interface; extern const samples_interface cclimber_samples_interface; WRITE8_HANDLER( cclimber_sample_trigger_w ); WRITE8_HANDLER( cclimber_sample_rate_w ); diff --git a/src/mame/includes/rockola.h b/src/mame/includes/rockola.h index c95632e942a..0ea73927c70 100644 --- a/src/mame/includes/rockola.h +++ b/src/mame/includes/rockola.h @@ -13,13 +13,13 @@ extern const custom_sound_interface custom_interface; extern const samples_interface sasuke_samples_interface; extern const samples_interface vanguard_samples_interface; extern const samples_interface fantasy_samples_interface; -extern const SN76477_interface sasuke_sn76477_intf_1; -extern const SN76477_interface sasuke_sn76477_intf_2; -extern const SN76477_interface sasuke_sn76477_intf_3; -extern const SN76477_interface satansat_sn76477_intf; -extern const SN76477_interface vanguard_sn76477_intf_1; -extern const SN76477_interface vanguard_sn76477_intf_2; -extern const SN76477_interface fantasy_sn76477_intf; +extern const sn76477_interface sasuke_sn76477_intf_1; +extern const sn76477_interface sasuke_sn76477_intf_2; +extern const sn76477_interface sasuke_sn76477_intf_3; +extern const sn76477_interface satansat_sn76477_intf; +extern const sn76477_interface vanguard_sn76477_intf_1; +extern const sn76477_interface vanguard_sn76477_intf_2; +extern const sn76477_interface fantasy_sn76477_intf; extern WRITE8_HANDLER( sasuke_sound_w ); extern WRITE8_HANDLER( satansat_sound_w );