diff options
Diffstat (limited to 'src/mame/drivers/vindictr.cpp')
-rw-r--r-- | src/mame/drivers/vindictr.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/drivers/vindictr.cpp b/src/mame/drivers/vindictr.cpp index cf8e550b45b..c4cd67568dc 100644 --- a/src/mame/drivers/vindictr.cpp +++ b/src/mame/drivers/vindictr.cpp @@ -213,11 +213,12 @@ MACHINE_CONFIG_START(vindictr_state::vindictr) SPEAKER(config, "lspeaker").front_left(); SPEAKER(config, "rspeaker").front_right(); - MCFG_ATARI_JSA_I_ADD("jsa", INPUTLINE("maincpu", M68K_IRQ_6)) - MCFG_ATARI_JSA_TEST_PORT("260010", 1) - MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) - MCFG_SOUND_ROUTE(1, "lspeaker", 1.0) - MCFG_DEVICE_REMOVE("jsa:tms") + ATARI_JSA_I(config, m_jsa, 0); + m_jsa->main_int_cb().set_inputline(m_maincpu, M68K_IRQ_6); + m_jsa->test_read_cb().set_ioport("260010").bit(12); + m_jsa->add_route(0, "lspeaker", 1.0); + m_jsa->add_route(1, "rspeaker", 1.0); + config.device_remove("jsa:tms"); MACHINE_CONFIG_END |