summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/batman.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-11-22 18:17:56 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2018-11-22 18:17:56 +0100
commitfabd214f57445791de064591bd2cede79fe9e6fe (patch)
tree24ce7d827fee914c58314e63a395912b5f04889f /src/mame/drivers/batman.cpp
parentc60cee60563fb661f598f50c2c450b194ade9aa3 (diff)
mame/audio: various devcb3ification and demacroification (nw)
Diffstat (limited to 'src/mame/drivers/batman.cpp')
-rw-r--r--src/mame/drivers/batman.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/batman.cpp b/src/mame/drivers/batman.cpp
index 82cdc98ac19..dff51673e27 100644
--- a/src/mame/drivers/batman.cpp
+++ b/src/mame/drivers/batman.cpp
@@ -215,9 +215,10 @@ MACHINE_CONFIG_START(batman_state::batman)
/* 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)
+ 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);
MACHINE_CONFIG_END