summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tourvis.c
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2014-04-11 04:52:34 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2014-04-11 04:52:34 +0000
commitcc0b2f610247b4b27e67d9dcca7e77e4873a9b65 (patch)
treea4672e1da801d32039c6f42ef0b6694fbc023607 /src/mame/drivers/tourvis.c
parent1dfb6f9135357db4c55d27446c6ba2af40b811fa (diff)
c6280: converted to use inline config. nw.
Diffstat (limited to 'src/mame/drivers/tourvis.c')
-rw-r--r--src/mame/drivers/tourvis.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mame/drivers/tourvis.c b/src/mame/drivers/tourvis.c
index eb0d7150d13..38587d7bcfe 100644
--- a/src/mame/drivers/tourvis.c
+++ b/src/mame/drivers/tourvis.c
@@ -361,11 +361,6 @@ static I8155_INTERFACE(i8155_intf)
DEVCB_DRIVER_LINE_MEMBER(tourvision_state,tourvision_timer_out)
};
-static const c6280_interface c6280_config =
-{
- "maincpu"
-};
-
WRITE_LINE_MEMBER(tourvision_state::pce_irq_changed)
{
m_maincpu->set_input_line(0, state);
@@ -401,7 +396,7 @@ static MACHINE_CONFIG_START( tourvision, tourvision_state )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker","rspeaker")
MCFG_SOUND_ADD("c6280", C6280, PCE_MAIN_CLOCK/6)
- MCFG_SOUND_CONFIG(c6280_config)
+ MCFG_C6280_CPU("maincpu")
MCFG_SOUND_ROUTE(0, "lspeaker", 1.00)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.00)