summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/offtwall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/offtwall.cpp')
-rw-r--r--src/mame/drivers/offtwall.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/offtwall.cpp b/src/mame/drivers/offtwall.cpp
index 3e368aa11fc..66f0f30e074 100644
--- a/src/mame/drivers/offtwall.cpp
+++ b/src/mame/drivers/offtwall.cpp
@@ -365,10 +365,11 @@ MACHINE_CONFIG_START(offtwall_state::offtwall)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- MCFG_ATARI_JSA_III_ADD("jsa", INPUTLINE("maincpu", M68K_IRQ_6))
- MCFG_ATARI_JSA_TEST_PORT("260010", 6)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
- MCFG_DEVICE_REMOVE("jsa:oki1")
+ ATARI_JSA_III(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(6);
+ m_jsa->add_route(ALL_OUTPUTS, "mono", 1.0);
+ config.device_remove("jsa:oki1");
MACHINE_CONFIG_END